| Summary: | SELinux is preventing gdb from 'getattr' accesses on the file file. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Joachim Frieben <jfrieben> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 25 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba, pmoore, ssekidde |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:8c778a2b3370451ed4f04c64109e8b7d0ca20579696db3a6364f19d5fd4b9320;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-30 13:03:24 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 1312608 *** |
Description of problem: SELinux is preventing gdb from 'getattr' accesses on the file file. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that gdb should be allowed getattr access on the file file 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: # ausearch -c 'gdb' --raw | audit2allow -M my-gdb # semodule -X 300 -i my-gdb.pp Additional Information: Source Context unconfined_u:unconfined_r:svirt_t:s0:c594,c767 Target Context system_u:object_r:nsfs_t:s0 Target Objects file [ file ] Source gdb Source Path gdb Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-224.fc25.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.8.8-300.fc25.x86_64 #1 SMP Tue Nov 15 18:10:06 UTC 2016 x86_64 x86_64 Alert Count 2 First Seen 2016-11-26 23:21:29 CET Last Seen 2016-11-26 23:21:33 CET Local ID 60b625d3-1131-42e6-884c-9c667fdc64a8 Raw Audit Messages type=AVC msg=audit(1480198893.845:342): avc: denied { getattr } for pid=30030 comm="gdb" path="pid:[4026531836]" dev="nsfs" ino=4026531836 scontext=unconfined_u:unconfined_r:svirt_t:s0:c594,c767 tcontext=system_u:object_r:nsfs_t:s0 tclass=file permissive=0 Hash: gdb,svirt_t,nsfs_t,file,getattr Version-Release number of selected component: selinux-policy-3.13.1-224.fc25.noarch Additional info: reporter: libreport-2.8.0 hashmarkername: setroubleshoot kernel: 4.8.8-300.fc25.x86_64 type: libreport Potential duplicate: bug 1336087