Bug 962435
| Summary: | SELinux is preventing /usr/bin/abrt-action-save-package-data from 'setattr' accesses on the file core_backtrace. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | JayMac <j4y.m4c4> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:eaf3f86dd4230316212bec388935c0748e0c663e29b388e2ab0061b2a48e9deb | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-05-13 15:31:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 962433 *** |
Description of problem: SELinux is preventing /usr/bin/abrt-action-save-package-data from 'setattr' accesses on the file core_backtrace. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that abrt-action-save-package-data should be allowed setattr access on the core_backtrace 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: # grep abrt-action-sav /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:abrt_t:s0-s0:c0.c1023 Target Context system_u:object_r:initrc_tmp_t:s0 Target Objects core_backtrace [ file ] Source abrt-action-sav Source Path /usr/bin/abrt-action-save-package-data Port <Unknown> Host (removed) Source RPM Packages abrt-addon-ccpp-2.1.2-2.fc18.x86_64 Target RPM Packages Policy RPM selinux-policy-3.11.1-92.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.8.11-200.fc18.x86_64 #1 SMP Wed May 1 19:44:27 UTC 2013 x86_64 x86_64 Alert Count 2 First Seen 2013-05-13 13:32:44 BST Last Seen 2013-05-13 13:32:53 BST Local ID 76e009b0-1ed3-4ddd-a2f9-f63ca7a7ec1e Raw Audit Messages type=AVC msg=audit(1368448373.835:350): avc: denied { setattr } for pid=17116 comm="abrt-action-gen" name="core_backtrace" dev="dm-2" ino=1452207 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=file type=SYSCALL msg=audit(1368448373.835:350): arch=x86_64 syscall=fchown success=yes exit=0 a0=3 a1=3e8 a2=ad a3=7fffaaa1e620 items=0 ppid=17112 pid=17116 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=abrt-action-gen exe=/usr/bin/abrt-action-generate-core-backtrace subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null) Hash: abrt-action-sav,abrt_t,initrc_tmp_t,file,setattr audit2allow #============= abrt_t ============== allow abrt_t initrc_tmp_t:file setattr; audit2allow -R require { type initrc_tmp_t; type abrt_t; class file setattr; } #============= abrt_t ============== allow abrt_t initrc_tmp_t:file setattr; Additional info: hashmarkername: setroubleshoot kernel: 3.8.11-200.fc18.x86_64 type: libreport