Description of problem: When qemu crashes, gdb is not allowed ptrace access on processes labelled svirt_t. I would expect, that if gdb is run automatically, SELinux policy should not prevent its usage. Basically, it is a conflict of two tools in default configuration. ################################################################################ SELinux is preventing /usr/bin/gdb from using the ptrace access on a process. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that gdb should be allowed ptrace access on processes labeled svirt_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 unconfined_u:system_r:svirt_t:s0:c411,c819 Target Context unconfined_u:system_r:svirt_t:s0:c411,c819 Target Objects [ process ] Source gdb Source Path /usr/bin/gdb Port <Unknown> Host amulet Source RPM Packages gdb-7.6.50.20130731-19.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-119.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name amulet Platform Linux amulet 3.12.8-300.fc20.x86_64 #1 SMP Thu Jan 16 01:07:50 UTC 2014 x86_64 x86_64 Alert Count 1 First Seen 2014-02-02 14:44:56 GMT Last Seen 2014-02-02 14:44:56 GMT Local ID e58b54ba-5893-426d-bc19-92545587fc05 Raw Audit Messages type=AVC msg=audit(1391352296.534:435): avc: denied { ptrace } for pid=11566 comm="gdb" scontext=unconfined_u:system_r:svirt_t:s0:c411,c819 tcontext=unconfined_u:system_r:svirt_t:s0:c411,c819 tclass=process type=SYSCALL msg=audit(1391352296.534:435): arch=x86_64 syscall=ptrace success=no exit=EACCES a0=10 a1=2cb7 a2=0 a3=0 items=0 ppid=11562 pid=11566 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=(none) comm=gdb exe=/usr/bin/gdb subj=unconfined_u:system_r:svirt_t:s0:c411,c819 key=(null) Hash: gdb,svirt_t,svirt_t,process,ptrace
*** This bug has been marked as a duplicate of bug 883556 ***