<div dir="ltr">can anyone help me figure out what is going on here? I'll look at it in the morning, but still might not find it on my own.<div><br></div><div><div>SELinux is preventing /usr/lib/cups/filter/hpcups from search access on the directory /var/lib/hp.</div>
<div><br></div><div>***** Plugin catchall (100. confidence) suggests ***************************</div><div><br></div><div>If you believe that hpcups should be allowed search access on the hp directory by default.</div><div>
Then you should report this as a bug.</div><div>You can generate a local policy module to allow this access.</div><div>Do</div><div>allow this access for now by executing:</div><div># grep hpcups /var/log/audit/audit.log | audit2allow -M mypol</div>
<div># semodule -i mypol.pp</div><div><br></div><div>Additional Information:</div><div>Source Context system_u:system_r:cupsd_t:s0-s0:c0.c1023</div><div>Target Context system_u:object_r:hplip_var_lib_t:s0</div>
<div>Target Objects /var/lib/hp [ dir ]</div><div>Source hpcups</div><div>Source Path /usr/lib/cups/filter/hpcups</div><div>Port <Unknown></div>
<div>Host localhost.localdomain</div><div>Source RPM Packages hpijs-3.13.2-1.fc18.x86_64</div><div>Target RPM Packages hplip-3.13.2-1.fc18.x86_64</div><div>Policy RPM selinux-policy-3.11.1-71.fc18.noarch</div>
<div>Selinux Enabled True</div><div>Policy Type targeted</div><div>Enforcing Mode Enforcing</div><div>Host Name localhost.localdomain</div><div>Platform Linux localhost.localdomain 3.7.2-204.fc18.x86_64</div>
<div> #1 SMP Wed Jan 16 16:22:52 UTC 2013 x86_64 x86_64</div><div>Alert Count 1</div><div>First Seen 2013-03-29 21:55:27 PDT</div><div>Last Seen 2013-03-29 21:55:27 PDT</div>
<div>Local ID 9063f3dd-5d16-4075-94d6-dde1b6741646</div><div><br></div><div>Raw Audit Messages</div><div>type=AVC msg=audit(1364619327.931:341): avc: denied { search } for pid=2487 comm="hpcups" name="hp" dev="dm-2" ino=1582738 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hplip_var_lib_t:s0 tclass=dir</div>
<div><br></div><div><br></div><div>type=SYSCALL msg=audit(1364619327.931:341): arch=x86_64 syscall=open success=no exit=EACCES a0=424c24 a1=0 a2=1b6 a3=238 items=0 ppid=806 pid=2487 auid=4294967295 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 ses=4294967295 tty=(none) comm=hpcups exe=/usr/lib/cups/filter/hpcups subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)</div>
<div><br></div><div>Hash: hpcups,cupsd_t,hplip_var_lib_t,dir,search</div><div><br></div><div>audit2allow</div><div><br></div><div>#============= cupsd_t ==============</div><div>allow cupsd_t hplip_var_lib_t:dir search;</div>
<div><br></div><div>audit2allow -R</div><div><br></div><div>#============= cupsd_t ==============</div><div>allow cupsd_t hplip_var_lib_t:dir search;</div><div><br></div><div><br></div><div style>Thanks for any help.</div>
</div></div>