| Summary: | SELinux is preventing /usr/lib/cups/backend/mfp from read, write access on the shared memory Unknown. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | mariolinux |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:ca92246a5db4beeeaaa5fc5264042136b8b1dd231066c96b9304b51230e163f6 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-21 16:43:01 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
What were you doing when this happened? |
SELinux is preventing /usr/lib/cups/backend/mfp from read, write access on the shared memory Unknown. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that mfp should be allowed read write access on the Unknown shm 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 mfp /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:cupsd_t:s0-s0:c0.c1023 Target Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1 023 Target Objects Unknown [ shm ] Source mfp Source Path /usr/lib/cups/backend/mfp Port <Sconosciuto> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.9.16-21.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.5-22.fc15.x86_64 #1 SMP Mon May 2 19:28:55 UTC 2011 x86_64 x86_64 Alert Count 5 First Seen ven 06 mag 2011 10:14:06 CEST Last Seen ven 06 mag 2011 10:18:59 CEST Local ID bcda3af0-0077-4295-a4ac-8c0136ea5d8c Raw Audit Messages type=AVC msg=audit(1304669939.474:235): avc: denied { read write } for pid=2892 comm="mfp" key=-324508640 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=shm type=SYSCALL msg=audit(1304669939.474:235): arch=x86_64 syscall=shmat success=no exit=EACCES a0=28005 a1=0 a2=0 a3=7fffe48a8290 items=0 ppid=1156 pid=2892 auid=4294967295 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm=mfp exe=/usr/lib/cups/backend/mfp subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null) Hash: mfp,cupsd_t,unconfined_t,shm,read,write audit2allow #============= cupsd_t ============== allow cupsd_t unconfined_t:shm { read write }; audit2allow -R #============= cupsd_t ============== allow cupsd_t unconfined_t:shm { read write };