Description of problem: SELinux is preventing /usr/lib/cups/filter/hpcups from 'read' accesses on the file /var/lib/hp/hplip.state. ***** Plugin catchall (100. confidence) suggests *************************** If cree que de manera predeterminada, hpcups debería permitir acceso read sobre hplip.state file. Then debería reportar esto como un error. Puede generar un módulo de política local para permitir este acceso. Do permita el acceso momentáneamente executando: # 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 unconfined_u:object_r:hplip_var_lib_t:s0 Target Objects /var/lib/hp/hplip.state [ file ] Source hpcups Source Path /usr/lib/cups/filter/hpcups Port <Unknown> Host (removed) Source RPM Packages hpijs-3.12.11-1.fc18.x86_64 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.x86_64 #1 SMP Sun Feb 24 20:10:02 UTC 2013 x86_64 x86_64 Alert Count 2 First Seen 2013-02-27 17:15:25 CET Last Seen 2013-02-27 17:17:04 CET Local ID 30d7cafc-138b-46a2-86ab-6c7f05bd9a2d Raw Audit Messages type=AVC msg=audit(1361981824.421:381): avc: denied { read } for pid=15453 comm="hpcups" name="hplip.state" dev="sda3" ino=1184036 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:hplip_var_lib_t:s0 tclass=file type=SYSCALL msg=audit(1361981824.421:381): arch=x86_64 syscall=open success=no exit=EACCES a0=423d04 a1=0 a2=1b6 a3=238 items=0 ppid=737 pid=15453 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) Hash: hpcups,cupsd_t,hplip_var_lib_t,file,read audit2allow #============= cupsd_t ============== allow cupsd_t hplip_var_lib_t:file read; audit2allow -R #============= cupsd_t ============== allow cupsd_t hplip_var_lib_t:file read; Additional info: hashmarkername: setroubleshoot kernel: 3.7.9-205.fc18.x86_64 type: libreport
Fixed in selinux-policy-3.11.1-82.fc18.noarch where we merged cups+hplip policies together.
selinux-policy-3.11.1-82.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-82.fc18
Package selinux-policy-3.11.1-82.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-82.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-3309/selinux-policy-3.11.1-82.fc18 then log in and leave karma (feedback).
selinux-policy-3.11.1-82.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.