libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.7-1.fc16.i686.PAE reason: SELinux is preventing /usr/bin/updatedb from 'getattr' accesses on the directory /usr/share/sagator. time: Fri 02 Mar 2012 10:39:16 AM EST description: :SELinux is preventing /usr/bin/updatedb from 'getattr' accesses on the directory /usr/share/sagator. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that updatedb should be allowed getattr access on the sagator directory 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 updatedb /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:locate_t:s0-s0:c0.c1023 :Target Context system_u:object_r:sagator_t:s0 :Target Objects /usr/share/sagator [ dir ] :Source updatedb :Source Path /usr/bin/updatedb :Port <Unknown> :Host (removed) :Source RPM Packages mlocate-0.24-1.fc16.i686 :Target RPM Packages sagator-core-1.2.3-1.fc16.noarch :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.i686.PAE #1 SMP Tue Feb : 21 01:30:59 UTC 2012 i686 i686 :Alert Count 1 :First Seen Fri 02 Mar 2012 10:38:51 AM EST :Last Seen Fri 02 Mar 2012 10:38:51 AM EST :Local ID 24204380-b7fe-4d1c-b3b2-1915624830d5 : :Raw Audit Messages :type=AVC msg=audit(1330702731.719:395): avc: denied { getattr } for pid=10838 comm="updatedb" path="/usr/share/sagator" dev=dm-1 ino=205695 scontext=system_u:system_r:locate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sagator_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1330702731.719:395): arch=i386 syscall=lstat64 success=no exit=EACCES a0=9fff131 a1=bfe40640 a2=4f5ddff4 a3=9ff5358 items=0 ppid=10832 pid=10838 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=7 comm=updatedb exe=/usr/bin/updatedb subj=system_u:system_r:locate_t:s0-s0:c0.c1023 key=(null) : :Hash: updatedb,locate_t,sagator_t,dir,getattr : :audit2allow : :#============= locate_t ============== :allow locate_t sagator_t:dir getattr; : :audit2allow -R : :#============= locate_t ============== :allow locate_t sagator_t:dir getattr; :
I have no clue what a sagator_t is, it is not defined in SELinux policy package.
*** Bug 799379 has been marked as a duplicate of this bug. ***
*** Bug 799378 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 640149 ***