Description of problem: SELinux is preventing /usr/lib/cups/filter/hpcupsfax from 'getattr' accesses on the directory /var/log/hp/tmp. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that hpcupsfax should be allowed getattr access on the tmp 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 hpcupsfax /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:hplip_var_log_t:s0 Target Objects /var/log/hp/tmp [ dir ] Source hpcupsfax Source Path /usr/lib/cups/filter/hpcupsfax Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.11.1-81.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.7.9-205.fc18.i686 #1 SMP Sun Feb 24 21:10:19 UTC 2013 i686 i686 Alert Count 1 First Seen 2013-03-06 17:41:56 EST Last Seen 2013-03-06 17:41:56 EST Local ID b0e277af-ffcc-4b0a-8778-d620edcea122 Raw Audit Messages type=AVC msg=audit(1362609716.397:3283): avc: denied { getattr } for pid=22989 comm="hpcupsfax" path="/var/log/hp/tmp" dev="dm-1" ino=919695 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:hplip_var_log_t:s0 tclass=dir type=SYSCALL msg=audit(1362609716.397:3283): arch=i386 syscall=stat64 success=no exit=EACCES a0=bf957668 a1=bf9575e0 a2=49a8c000 a3=bf957668 items=0 ppid=1537 pid=22989 auid=4294967295 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 ses=4294967295 tty=(none) comm=hpcupsfax exe=/usr/lib/cups/filter/hpcupsfax subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null) Hash: hpcupsfax,cupsd_t,hplip_var_log_t,dir,getattr audit2allow #============= cupsd_t ============== allow cupsd_t hplip_var_log_t:dir getattr; audit2allow -R #============= cupsd_t ============== allow cupsd_t hplip_var_log_t:dir getattr; Additional info: hashmarkername: setroubleshoot kernel: 3.7.9-205.fc18.i686 type: libreport
Created attachment 706285 [details] File: screencast.ogv
PLease update to the latest policy where we fixed this issue.