Additional info: libreport version: 2.0.18 kernel: 3.6.7-4.fc17.x86_64 description: :SELinux is preventing /usr/lib/cups/filter/hpcups from 'search' accesses on the directory /var/log/hp. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that hpcups should be allowed search access on the hp 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 hpcups /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:hplip_var_log_t:s0 :Target Objects /var/log/hp [ dir ] :Source hpcups :Source Path /usr/lib/cups/filter/hpcups :Port <Unknown> :Host (removed) :Source RPM Packages hpijs-3.12.6-1.fc17.x86_64 : hpijs-3.12.9-6.fc17.x86_64 :Target RPM Packages hplip-3.12.6-1.fc17.x86_64 : hplip-3.12.9-6.fc17.x86_64 :Policy RPM selinux-policy-3.10.0-156.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.2-4.fc17.x86_64 #1 SMP Wed Oct : 17 02:43:21 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen 2012-10-24 14:40:26 EDT :Last Seen 2012-10-24 14:40:26 EDT :Local ID 8c9d036e-7919-4115-a80e-cb84e8273eba : :Raw Audit Messages :type=AVC msg=audit(1351104026.752:199): avc: denied { search } for pid=7821 comm="hpcups" name="hp" dev="dm-0" ino=1059820 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hplip_var_log_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1351104026.752:199): arch=x86_64 syscall=unlink success=no exit=EACCES a0=7fff483471b0 a1=157f4dc a2=0 a3=0 items=0 ppid=1368 pid=7821 auid=4294967295 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm=hpcups exe=/usr/lib/cups/filter/hpcups subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null) : :Hash: hpcups,cupsd_t,hplip_var_log_t,dir,search : :audit2allow : :#============= cupsd_t ============== :allow cupsd_t hplip_var_log_t:dir search; : :audit2allow -R : :#============= cupsd_t ============== :allow cupsd_t hplip_var_log_t:dir search; : Potential duplicate bug: 865603
Created attachment 653514 [details] File: type
Created attachment 653515 [details] File: hashmarkername
*** This bug has been marked as a duplicate of bug 865603 ***