| Summary: | SELinux is preventing /usr/sbin/cupsd from read, open access on the file /usr/lib/cups/filter/rastertosamsungspl. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jon Senior <jon> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:869ff92f3a586c16cd4a1c3a011d7771d334d1e72bd2b52b99635c046cd816ef | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-16 08:51:13 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /usr/lib/cups/filter/rastertosamsungspl default label should be bin_t. Then you can run restorecon. Do # /sbin/restorecon -v /usr/lib/cups/filter/rastertosamsungspl |
----- Note ------ Problem is created when using Samsung Unified Driver to provide printer driver for ML-1640 (and presumably other) printers. SELinux is preventing /usr/sbin/cupsd from read, open access on the file /usr/lib/cups/filter/rastertosamsungspl. ***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /usr/lib/cups/filter/rastertosamsungspl default label should be bin_t. Then you can run restorecon. Do # /sbin/restorecon -v /usr/lib/cups/filter/rastertosamsungspl ***** Plugin catchall (1.49 confidence) suggests *************************** If you believe that cupsd should be allowed read open access on the rastertosamsungspl 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 cupsd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023 Target Context unconfined_u:object_r:user_home_t:s0 Target Objects /usr/lib/cups/filter/rastertosamsungspl [ file ] Source cupsd Source Path /usr/sbin/cupsd Port <Unknown> Host (removed) Source RPM Packages cups-1.4.6-1.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-40.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.13-91.fc14.i686 #1 SMP Tue May 3 13:36:36 UTC 2011 i686 i686 Alert Count 1 First Seen Mon 16 May 2011 09:58:21 CEST Last Seen Mon 16 May 2011 09:58:21 CEST Local ID 97e082c6-a88b-4c99-a145-fbae5f6e408e Raw Audit Messages type=AVC msg=audit(1305532701.757:28487): avc: denied { read open } for pid=15606 comm="cupsd" name="rastertosamsungspl" dev=dm-0 ino=71583 scontext=unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file type=SYSCALL msg=audit(1305532701.757:28487): arch=i386 syscall=execve success=no exit=EACCES a0=bff51c16 a1=27bdf20 a2=bff5051c a3=bff51c16 items=0 ppid=25670 pid=15606 auid=500 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=1 comm=cupsd exe=/usr/sbin/cupsd subj=unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null) Hash: cupsd,cupsd_t,user_home_t,file,read,open audit2allow #============= cupsd_t ============== allow cupsd_t user_home_t:file { read open }; audit2allow -R #============= cupsd_t ============== allow cupsd_t user_home_t:file { read open };