pam_apparmor

Since installed apparmor seeing similar to these messages:


linux-gedt:~ # grep  'cron'  /var/log/messages
---deleted---
Mar  3 22:15:01 linux-gedt /usr/sbin/cron[4523]: pam_apparmor(crond:session): Unknown error occurred changing to root hat: Operation not permitted
Mar  3 22:30:01 linux-gedt /usr/sbin/cron[4962]: pam_apparmor(crond:session): Unknown error occurred changing to root hat: Operation not permitted

Source [Bug 807130] 12.3 RC2: apparmor causes problems to “cron”](http://lists.opensuse.org/opensuse-bugs/2013-03/msg00203.html)

NOTE cut and pasted with some edits so easier read here 3 separate messages:

[Bug 807130] 12.3 RC2: apparmor causes problems to “cron”

— Comment #1 from Christian Boltz <suse-beta@xxxxxxxxx> 2013-03-02 13:09:43
CET —
This also looks like pam_apparmor (cron switches users when running non-root
cronjobs) and is most probably a duplicate of bug 807106. This also means the
log messages should go away after uninstalling pam_apparmor.

If you notice “real” problems, for example log messages that do not contain
apparmor=“DENIED” operation=“change_hat” info=“unconfined”
or something blocked/not working, please reopen.

(And: Thanks a lot for your bugreports!)

*** This bug has been marked as a duplicate of bug 807106 ***

— Comment #2 from Carlos Robinson <carlos.e.r@xxxxxxxxxxxx> 2013-03-02
12:28:19 UTC —
Notice that pam_apparmor has been installed by YaST default config, not me, so
I expect it should work out of the box :slight_smile:

— Comment #3 from Christian Boltz <suse-beta@xxxxxxxxx> 2013-03-02 18:43:17
CET —
pam_apparmor is part of patters-openSUSE-apparmor :wink:
(marked as recommended, but not required)

Try this solution

Removed pam_apparmor around time 22:44

See if log messages ceased after uninstalled pam_apparmor.

Last same error still 22:30 so removal pam_apparmor appeared to fixed this error.

.

Prior to above message, my search found this link :

[Bug 807130] New: 12.3 RC2: apparmor causes problems to “cron”](http://lists.opensuse.org/opensuse-bugs/2013-03/msg00170.html)

brief extract text

Summary: 12.3 RC2: apparmor causes problems to “cron”
Classification: openSUSE
Product: openSUSE 12.3
Version: RC 2
Platform: x86-64
OS/Version: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: AppArmor
AssignedTo: suse-beta@xxxxxxxxx
ReportedBy: carlos.e.r@xxxxxxxxxxxx
QAContact: qa-bugs@xxxxxxx
Found By: —
Blocker: —

which led me to their solution :slight_smile:

On 03/03/2013 01:56 PM, paulparker wrote:
> which led me to their solution
are you asking for help in this forum named (at the top of
http://forums.opensuse.org/english/get-technical-help-here/applications/)

Forum: Applications - Questions about desktops (KDE, Gnome, XFCE,
etc.), software applications (configuration, usage, bugs, documentation)

anyway, i didn’t see either a question mark or a question!


dd

On 2013-03-03 13:56, paulparker wrote:
>
> Since installed apparmor seeing similar to these messages:

Please notice that those problems are related to the 12.3 RC2 version,
and as such should be asked in the beta forum, not here.

Please ask a moderator to move this thread.

(I am the reporter of those bugzillas you mention below).


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

Seems was seeing - now not, similar problem in openSUSE 12.2 “Mantis”

BTW did not see in our other with openSUSE 12.1 “Asparagus”

.

I have been seeing these errors logged for a while. I’m pretty sure I saw them prior to 12.3.

I have been ignoring them, since they don’t appear to be causing noticeable problems.