| Summary: | SELinux is preventing /usr/lib/cups/filter/rastertosamsungsplc from 'execute' accesses on the file /usr/lib/cups/filter/libscmssc.so. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | kaass5 |
| 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: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:022f74d65ee9209c5baaaf3405f910fb35ba5a22d8475303aedd3c9f55d720cc | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-31 06:51:25 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 file was moved here from the user home directory. When you "mv" a file, you "mv" its context with it. Cupsd_t is not allowed to read user home content. Fix: restorecon -R -v /usr/lib/cups/filter/libscmssc.so |
SELinux is preventing /usr/lib/cups/filter/rastertosamsungsplc from 'execute' accesses on the file /usr/lib/cups/filter/libscmssc.so. ***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /usr/lib/cups/filter/libscmssc.so default label should be bin_t. Then you can run restorecon. Do # /sbin/restorecon -v /usr/lib/cups/filter/libscmssc.so ***** Plugin catchall (1.49 confidence) suggests *************************** If you believe that rastertosamsungsplc should be allowed execute access on the libscmssc.so 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 rastertosamsung /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:object_r:user_home_t:s0 Target Objects /usr/lib/cups/filter/libscmssc.so [ file ] Source rastertosamsung Source Path /usr/lib/cups/filter/rastertosamsungsplc Port <Unknown> Host (removed) Source RPM Packages 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.PAE #1 SMP Tue May 3 13:29:55 UTC 2011 i686 i686 Alert Count 1 First Seen Mon 30 May 2011 02:11:03 PM EDT Last Seen Mon 30 May 2011 02:11:03 PM EDT Local ID 2d44ab14-2a89-4b5f-bba0-66cbc8c631cd Raw Audit Messages type=AVC msg=audit(1306779063.824:682): avc: denied { execute } for pid=4488 comm="rastertosamsung" path="/usr/lib/cups/filter/libscmssc.so" dev=dm-0 ino=58261 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file type=SYSCALL msg=audit(1306779063.824:682): arch=i386 syscall=mmap2 per=400000 success=yes exit=7831552 a0=0 a1=164f24 a2=5 a3=802 items=0 ppid=1139 pid=4488 auid=4294967295 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm=rastertosamsung exe=/usr/lib/cups/filter/rastertosamsungsplc subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null) Hash: rastertosamsung,cupsd_t,user_home_t,file,execute audit2allow #============= cupsd_t ============== allow cupsd_t user_home_t:file execute; audit2allow -R #============= cupsd_t ============== allow cupsd_t user_home_t:file execute;