libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.3.1-3.fc16.x86_64 reason: SELinux is preventing /sbin/setfiles from 'read' accesses on the Datei /etc/shells. time: Fr 13 Apr 2012 21:51:01 CEST description: :SELinux is preventing /sbin/setfiles from 'read' accesses on the Datei /etc/shells. : :***** Plugin restorecon (99.5 confidence) suggests ************************* : :If you want to fix the label. :/etc/shells default label should be etc_t. :Then you can run restorecon. :Do :# /sbin/restorecon -v /etc/shells : :***** Plugin catchall (1.49 confidence) suggests *************************** : :If you believe that setfiles should be allowed read access on the shells 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 setfiles /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c102 : 3 :Target Context system_u:object_r:ldconfig_tmp_t:s0 :Target Objects /etc/shells [ file ] :Source setfiles :Source Path /sbin/setfiles :Port <Unbekannt> :Host (removed) :Source RPM Packages policycoreutils-2.1.4-13.fc16.x86_64 :Target RPM Packages setup-2.8.36-3.fc16.noarch :Policy RPM selinux-policy-3.10.0-80.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.3.1-3.fc16.x86_64 #1 SMP : Wed Apr 4 18:08:51 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen Fr 13 Apr 2012 21:48:56 CEST :Last Seen Fr 13 Apr 2012 21:48:56 CEST :Local ID 632b33d6-8db1-47ab-950d-1b6572b754c5 : :Raw Audit Messages :type=AVC msg=audit(1334346536.745:182): avc: denied { read } for pid=15027 comm="setfiles" path="/etc/shells" dev="sda3" ino=131625 scontext=unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c1023 tcontext=system_u:object_r:ldconfig_tmp_t:s0 tclass=file : : :type=SYSCALL msg=audit(1334346536.745:182): arch=x86_64 syscall=execve success=yes exit=0 a0=4bac7e0 a1=526f7b0 a2=0 a3=31 items=0 ppid=15016 pid=15027 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=2 comm=setfiles exe=/sbin/setfiles subj=unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c1023 key=(null) : :Hash: setfiles,setfiles_t,ldconfig_tmp_t,file,read : :audit2allow : :#============= setfiles_t ============== :#!!!! This avc is allowed in the current policy : :allow setfiles_t ldconfig_tmp_t:file read; : :audit2allow -R : :#============= setfiles_t ============== :#!!!! This avc is allowed in the current policy : :allow setfiles_t ldconfig_tmp_t:file read; :
*** This bug has been marked as a duplicate of bug 812464 ***