| Summary: | SELinux is preventing /usr/bin/gdb from using the 'ptrace' accesses on a process. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:24ca97bace046cbd7386f68996402fedb0267b79cae47ed1785f3f60c5d082af | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-22 13:13:04 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Were you using gnome-boxes? |
Description of problem: SELinux is preventing /usr/bin/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 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:c24,c705 Target Context unconfined_u:system_r:svirt_t:s0:c24,c705 Target Objects [ process ] Source gdb Source Path /usr/bin/gdb Port <Unknown> Host (removed) Source RPM Packages gdb-7.6.50.20130731-16.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-90.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.12.0-2.fc21.x86_64+debug #1 SMP Sat Nov 9 21:12:03 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-11-18 02:05:04 YEKT Last Seen 2013-11-18 02:05:04 YEKT Local ID b021eed1-6678-4ddc-bd76-3f9b7201a86c Raw Audit Messages type=AVC msg=audit(1384718704.692:730): avc: denied { ptrace } for pid=4205 comm="gdb" scontext=unconfined_u:system_r:svirt_t:s0:c24,c705 tcontext=unconfined_u:system_r:svirt_t:s0:c24,c705 tclass=process type=SYSCALL msg=audit(1384718704.692:730): arch=x86_64 syscall=ptrace success=no exit=EACCES a0=10 a1=7558 a2=0 a3=0 items=0 ppid=4201 pid=4205 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:c24,c705 key=(null) Hash: gdb,svirt_t,svirt_t,process,ptrace Additional info: reporter: libreport-2.1.9 hashmarkername: setroubleshoot kernel: 3.12.0-2.fc21.x86_64+debug type: libreport Potential duplicate: bug 883556