Hide Forgot
libreport version: 2.0.5.982 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-0.rc6.git0.3.fc16.x86_64 reason: SELinux is preventing /bin/systemctl from 'getattr' accesses on the file /proc/<pid>/comm. time: Tue Oct 4 11:02:56 2011 description: :SELinux is preventing /bin/systemctl from 'getattr' accesses on the file /proc/<pid>/comm. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that systemctl should be allowed getattr access on the comm 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 systemctl /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:gnomeclock_systemctl_t:s0-s0:c0. : c1023 :Target Context system_u:system_r:chronyd_t:s0 :Target Objects /proc/<pid>/comm [ file ] :Source systemctl :Source Path /bin/systemctl :Port <Unknown> :Host (removed) :Source RPM Packages systemd-units-35-1.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-32.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux orwell.ignore-your.tv : 3.1.0-0.rc6.git0.3.fc16.x86_64 #1 SMP Fri Sep 16 : 12:26:22 UTC 2011 x86_64 x86_64 :Alert Count 2 :First Seen Fri 30 Sep 2011 07:02:07 PM CDT :Last Seen Mon 03 Oct 2011 08:33:57 AM CDT :Local ID 440d0af4-ee2d-4292-9dd2-94bbf4bc3ad8 : :Raw Audit Messages :type=AVC msg=audit(1317648837.46:829): avc: denied { getattr } for pid=29926 comm="systemctl" path="/proc/1113/comm" dev=proc ino=27403 scontext=system_u:system_r:gnomeclock_systemctl_t:s0-s0:c0.c1023 tcontext=system_u:system_r:chronyd_t:s0 tclass=file : : :type=SYSCALL msg=audit(1317648837.46:829): arch=x86_64 syscall=fstat success=yes exit=0 a0=4 a1=7fff88944230 a2=7fff88944230 a3=72656e6567207265 items=0 ppid=29924 pid=29926 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemctl exe=/bin/systemctl subj=system_u:system_r:gnomeclock_systemctl_t:s0-s0:c0.c1023 key=(null) : :Hash: systemctl,gnomeclock_systemctl_t,chronyd_t,file,getattr : :audit2allow : :#============= gnomeclock_systemctl_t ============== :allow gnomeclock_systemctl_t chronyd_t:file getattr; : :audit2allow -R : :#============= gnomeclock_systemctl_t ============== :allow gnomeclock_systemctl_t chronyd_t:file getattr; :
Fixed in selinux-policy-3.10.0-37.fc16
selinux-policy-3.10.0-38.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/FEDORA-2011-13775
selinux-policy-3.10.0-38.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.