libreport version: 2.0.10 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.3.0-1.fc17.i686 time: Fri 06 Apr 2012 03:51:29 AM EDT description: :SELinux is preventing gdb from using the 'ptrace' accesses on a process. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that gdb should be allowed ptrace access on processes labeled xdm_t 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 gdb /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023 :Target Context system_u:system_r:xdm_t:s0-s0:c0.c1023 :Target Objects [ process ] :Source gdb :Source Path gdb :Port <Unknown> :Host (removed) :Source RPM Packages :Target RPM Packages :Policy RPM selinux-policy-3.10.0-110.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.3.0-1.fc17.i686 #1 : SMP Mon Mar 19 03:19:22 UTC 2012 i686 i686 :Alert Count 1 :First Seen Fri 06 Apr 2012 03:50:25 AM EDT :Last Seen Fri 06 Apr 2012 03:50:25 AM EDT :Local ID 993eaf0e-0a49-4939-909f-9ca31c8ad7e6 : :Raw Audit Messages :type=AVC msg=audit(1333698625.906:288): avc: denied { ptrace } for pid=1535 comm="gdb" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tclass=process : : :Hash: gdb,xdm_t,xdm_t,process,ptrace : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :
I have seen this alert on F17 Beta RC3 i686 LiveCD. After I log out, gdm/X crashes. Probably abrt or some other process tried to inspect the crash. After the crash X respawned, logged me in, and I saw notification for this selinux denial.
Kamil filed a 'manual' bug for the problem caused by this, so closing as a dupe of that one, which is a blocker. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers *** This bug has been marked as a duplicate of bug 810451 ***
*** Bug 810052 has been marked as a duplicate of this bug. ***