libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.3.7-1.fc17.x86_64 time: Wed 06 Jun 2012 02:33:27 AM ART description: :SELinux is preventing /usr/bin/python2.7 from 'read' accesses on the directory /etc/selinux/targeted/policy. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that python2.7 should be allowed read access on the policy 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 sealert /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:setroubleshoot_fixit_t:s0-s0:c0. : c1023 :Target Context system_u:object_r:semanage_store_t:s0 :Target Objects /etc/selinux/targeted/policy [ dir ] :Source sealert :Source Path /usr/bin/python2.7 :Port <Unknown> :Host (removed) :Source RPM Packages python-2.7.3-6.fc17.x86_64 :Target RPM Packages selinux-policy-targeted-3.10.0-128.fc17.noarch :Policy RPM selinux-policy-3.10.0-128.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.3.7-1.fc17.x86_64 #1 : SMP Mon May 21 22:32:19 UTC 2012 x86_64 x86_64 :Alert Count 7 :First Seen Thu 31 May 2012 11:07:41 PM ART :Last Seen Wed 06 Jun 2012 02:08:46 AM ART :Local ID 5004acd2-e72f-4bd9-be64-a7dcc4da84b3 : :Raw Audit Messages :type=AVC msg=audit(1338959326.467:820): avc: denied { read } for pid=3446 comm="sealert" name="policy" dev="sda1" ino=61547 scontext=system_u:system_r:setroubleshoot_fixit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:semanage_store_t:s0 tclass=dir : : :type=AVC msg=audit(1338959326.467:820): avc: denied { open } for pid=3446 comm="sealert" name="policy" dev="sda1" ino=61547 scontext=system_u:system_r:setroubleshoot_fixit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:semanage_store_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1338959326.467:820): arch=x86_64 syscall=openat success=yes exit=ENXIO a0=ffffffffffffff9c a1=7fffa7a76130 a2=90800 a3=0 items=0 ppid=3445 pid=3446 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=sealert exe=/usr/bin/python2.7 subj=system_u:system_r:setroubleshoot_fixit_t:s0-s0:c0.c1023 key=(null) : :Hash: sealert,setroubleshoot_fixit_t,semanage_store_t,dir,read : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :
Happens every time I restart and log back in.
Are you telling setroublshoot to fix a bug and this avc is generated or are you saying this AVC is randomly generated at login?
*** This bug has been marked as a duplicate of bug 829465 ***
Hi Daniel, Like the other ticket you referenced, I just left it so I could see if it affected anything else. It is not random, but at login only.