Hide Forgot
abrt version: 2.0.5 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.0-0.rc7.git3.1.fc16.i686.PAE reason: SELinux is preventing /usr/libexec/accounts-daemon from 'read' accesses on the file /var/log/wtmp. time: Fri Jul 22 16:48:09 2011 description: :SELinux is preventing /usr/libexec/accounts-daemon from 'read' accesses on the file /var/log/wtmp. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that accounts-daemon should be allowed read access on the wtmp file by default. :Then you should report this as a bug. :You can generate a local policy module to allow this access. :Do :allow this access for now by executing: :# grep accounts-daemon /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:accountsd_t:s0 :Target Context system_u:object_r:wtmp_t:s0 :Target Objects /var/log/wtmp [ file ] :Source accounts-daemon :Source Path /usr/libexec/accounts-daemon :Port <Unknown> :Host (removed) :Source RPM Packages accountsservice-0.6.13-1.fc16 :Target RPM Packages initscripts-9.31-1.fc16 :Policy RPM selinux-policy-3.10.0-6.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) : 3.0-0.rc7.git3.1.fc16.i686.PAE #1 SMP Fri Jul 15 : 22:56:04 UTC 2011 i686 i686 :Alert Count 1 :First Seen Fri 22 Jul 2011 04:04:56 PM CEST :Last Seen Fri 22 Jul 2011 04:04:56 PM CEST :Local ID a0a95464-fbc0-4a67-9b37-098c8d77ec8c : :Raw Audit Messages :type=AVC msg=audit(1311343496.99:46): avc: denied { read } for pid=1452 comm="accounts-daemon" name="wtmp" dev=dm-1 ino=10521 scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:object_r:wtmp_t:s0 tclass=file : : :type=AVC msg=audit(1311343496.99:46): avc: denied { open } for pid=1452 comm="accounts-daemon" name="wtmp" dev=dm-1 ino=10521 scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:object_r:wtmp_t:s0 tclass=file : : :type=SYSCALL msg=audit(1311343496.99:46): arch=i386 syscall=open success=yes exit=EBADF a0=9fe64f8 a1=88000 a2=0 a3=9fe6506 items=0 ppid=1 pid=1452 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=accounts-daemon exe=/usr/libexec/accounts-daemon subj=system_u:system_r:accountsd_t:s0 key=(null) : :Hash: accounts-daemon,accountsd_t,wtmp_t,file,read : :audit2allow : :#============= accountsd_t ============== :allow accountsd_t wtmp_t:file { read open }; : :audit2allow -R : :#============= accountsd_t ============== :allow accountsd_t wtmp_t:file { read open }; :
Fixed in selinux-policy-3.10.0-9.fc16.noarch