Hide Forgot
SELinux is preventing /usr/lib/cups/daemon/cups-driverd from 'search' accesses on the directory /opt. ***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /opt default label should be usr_t. Then you can run restorecon. Do # /sbin/restorecon -v /opt ***** Plugin catchall (1.49 confidence) suggests *************************** If you believe that cups-driverd should be allowed search access on the opt directory 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 cups-driverd /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 system_u:object_r:virt_content_t:s0 Target Objects /opt [ dir ] Source cups-driverd Source Path /usr/lib/cups/daemon/cups-driverd Port <Desconocido> Host (removed) Source RPM Packages cups-1.4.6-1.fc14 Target RPM Packages filesystem-2.4.35-1.fc14 Policy RPM selinux-policy-3.9.7-20.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.10-74.fc14.i686 #1 SMP Thu Dec 23 16:17:40 UTC 2010 i686 i686 Alert Count 1 First Seen jue 20 ene 2011 17:31:39 CST Last Seen jue 20 ene 2011 17:31:39 CST Local ID 8264646e-4f91-48ac-8274-47ddad41e1fb Raw Audit Messages type=AVC msg=audit(1295566299.442:23553): avc: denied { search } for pid=3205 comm="cups-driverd" name="opt" dev=dm-1 ino=782 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:virt_content_t:s0 tclass=dir cups-driverd,cupsd_t,virt_content_t,dir,search type=SYSCALL msg=audit(1295566299.442:23553): arch=i386 syscall=access success=no exit=EACCES a0=65e8bf a1=0 a2=660ff4 a3=65e8bf items=0 ppid=1365 pid=3205 auid=4294967295 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm=cups-driverd exe=/usr/lib/cups/daemon/cups-driverd subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null) cups-driverd,cupsd_t,virt_content_t,dir,search #============= cupsd_t ============== allow cupsd_t virt_content_t:dir search;
Looks like your /opt is mislabeled. The alert told you what to do. execute: restorecon -R -v /opt