libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.7-1.fc16.x86_64 reason: SELinux is preventing /sbin/ldconfig from 'read' accesses on the lnk_file etc. time: Fri 02 Mar 2012 04:10:26 PM CET description: :SELinux is preventing /sbin/ldconfig from 'read' accesses on the lnk_file etc. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that ldconfig should be allowed read access on the etc lnk_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 ldconfig /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:ldconfig_t:s0 :Target Context system_u:object_r:initrc_tmp_t:s0 :Target Objects etc [ lnk_file ] :Source ldconfig :Source Path /sbin/ldconfig :Port <Unknown> :Host (removed) :Source RPM Packages glibc-2.14.90-24.fc16.6.x86_64 :Target RPM Packages filesystem-2.4.44-1.fc16.x86_64 :Policy RPM selinux-policy-3.10.0-75.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.2.7-1.fc16.x86_64 #1 : SMP Tue Feb 21 01:40:47 UTC 2012 x86_64 x86_64 :Alert Count 5 :First Seen Fri 02 Mar 2012 03:56:14 PM CET :Last Seen Fri 02 Mar 2012 04:04:16 PM CET :Local ID 943d488c-e5bb-4e10-a42e-de133ed1cae2 : :Raw Audit Messages :type=AVC msg=audit(1330700656.452:110): avc: denied { read } for pid=1395 comm="ldconfig" name="etc" dev=dm-1 ino=1707609 scontext=system_u:system_r:ldconfig_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=lnk_file : : :type=SYSCALL msg=audit(1330700656.452:110): arch=x86_64 syscall=open success=no exit=EACCES a0=23a9d10 a1=20241 a2=180 a3=12 items=0 ppid=24272 pid=1395 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=ldconfig exe=/sbin/ldconfig subj=system_u:system_r:ldconfig_t:s0 key=(null) : :Hash: ldconfig,ldconfig_t,initrc_tmp_t,lnk_file,read : :audit2allow : :#============= ldconfig_t ============== :allow ldconfig_t initrc_tmp_t:lnk_file read; : :audit2allow -R : :#============= ldconfig_t ============== :allow ldconfig_t initrc_tmp_t:lnk_file read; :
This looks like you have a link file named etc that is labeled initrc_tmp_t? ls -lZ /etc
Looks like a test issue.
Jaroslav, if I am wrong, please reopen the bug. Thank you.
*** Bug 980784 has been marked as a duplicate of this bug. ***