Hide Forgot
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.3.0-0.rc2.git3.2.fc17.x86_64 reason: SELinux is preventing /usr/sbin/setfiles from 'getattr' accesses on the None /run. time: Fri 10 Feb 2012 11:11:28 AM CET description: :SELinux is preventing /usr/sbin/setfiles from 'getattr' accesses on the None /run. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that setfiles should be allowed getattr access on the run <Unknown> 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 restorecon /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context unconfined_u:system_r:setfiles_t:s0-s0:c0.c1023 :Target Context system_u:object_r:tmpfs_t:s0 :Target Objects /run [ None ] :Source restorecon :Source Path /usr/sbin/setfiles :Port <Unknown> :Host (removed) :Source RPM Packages policycoreutils-2.1.10-21.fc17.x86_64 :Target RPM Packages filesystem-3-2.fc17.x86_64 :Policy RPM selinux-policy-3.10.0-82.fc17.noarch selinux- : policy-3.10.0-84.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.3.0-0.rc2.git3.2.fc17.x86_64 #1 SMP : Fri Feb 3 19:19:19 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen Fri 10 Feb 2012 11:09:23 AM CET :Last Seen Fri 10 Feb 2012 11:09:23 AM CET :Local ID 842b43b8-9554-4be4-b3ea-e71d9272f87e : :Raw Audit Messages :type=AVC msg=audit(1328868563.569:739): avc: denied { getattr } for pid=3139 comm="restorecon" name="/" dev="tmpfs" ino=6119 scontext=unconfined_u:system_r:setfiles_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmpfs_t:s0 tclass=filesystemnode=(removed) type=SYSCALL msg=audit(1328868563.569:739): arch=c000003e syscall=137 success=no exit=-13 a0=7f412e0cdc90 a1=7fff1ebcdb40 a2=0 a3=117 items=0 ppid=2610 pid=3139 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=2 comm="restorecon" exe="/usr/sbin/setfiles" subj=unconfined_u:system_r:setfiles_t:s0-s0:c0.c1023 key=(null) : : :Hash: restorecon,setfiles_t,tmpfs_t,None,getattr : :audit2allow : : :audit2allow -R : :
Is this a fresh installation?
Actually this is fixed in the latest policy.
selinux-policy-3.10.0-118.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-118.fc17
Package selinux-policy-3.10.0-118.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-118.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-6452/selinux-policy-3.10.0-118.fc17 then log in and leave karma (feedback).
selinux-policy-3.10.0-118.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.