Description of problem: I just added an HP network printer. SELinux is preventing /usr/libexec/colord from 'search' accesses on the directory 1354. ***** Plugin catchall (100. confidence) suggests *************************** If si crede che colord dovrebbe avere possibilità di accesso search sui 1354 directory in modo predefinito. Then si dovrebbe riportare il problema come bug. E' possibile generare un modulo di politica locale per consentire questo accesso. Do consentire questo accesso per il momento eseguendo: # grep colord /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:colord_t:s0 Target Context system_u:system_r:cupsd_t:s0-s0:c0.c1023 Target Objects 1354 [ dir ] Source colord Source Path /usr/libexec/colord Port <Unknown> Host (removed) Source RPM Packages colord-0.1.28-1.fc18.x86_64 Target RPM Packages Policy RPM selinux-policy-3.11.1-71.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.7.3-201.fc18.x86_64 #1 SMP Fri Jan 18 18:31:30 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-01-20 21:26:26 CET Last Seen 2013-01-20 21:26:26 CET Local ID 90aee63d-5156-4c62-a9c5-8baeacc87c15 Raw Audit Messages type=AVC msg=audit(1358713586.691:384): avc: denied { search } for pid=1349 comm="colord" name="1354" dev="proc" ino=22104 scontext=system_u:system_r:colord_t:s0 tcontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tclass=dir type=SYSCALL msg=audit(1358713586.691:384): arch=x86_64 syscall=open success=no exit=EACCES a0=16a8690 a1=80000 a2=1b6 a3=238 items=0 ppid=1 pid=1349 auid=4294967295 uid=997 gid=996 euid=997 suid=997 fsuid=997 egid=996 sgid=996 fsgid=996 ses=4294967295 tty=(none) comm=colord exe=/usr/libexec/colord subj=system_u:system_r:colord_t:s0 key=(null) Hash: colord,colord_t,cupsd_t,dir,search audit2allow #============= colord_t ============== allow colord_t cupsd_t:dir search; audit2allow -R #============= colord_t ============== allow colord_t cupsd_t:dir search; Additional info: hashmarkername: setroubleshoot kernel: 3.7.3-201.fc18.x86_64 type: libreport
Seems 100% reproducible with # systemctl restart cups.service # rpm -q cups colord selinux-policy-targeted cups-1.5.4-20.fc18.i686 colord-0.1.28-1.fc18.i686 selinux-policy-targeted-3.11.1-71.fc18.noarch Package: (null) Architecture: i686 OS Release: Fedora release 18 (Spherical Cow)
I got this on system startup Package: (null) OS Release: Fedora release 18 (Spherical Cow)
Confirmed, F18 updates-testing enabled
The AVC denial was reported after KDE login. Nothing specific was done to cause it. Package: (null) Architecture: i686 OS Release: Fedora release 18 (Spherical Cow)
performed update Package: (null) OS Release: Fedora release 18 (Spherical Cow)
968038ba069db36ca7f0e52601d033893818987b in git fixes this problem.
Added.
selinux-policy-3.11.1-73.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-73.fc18
logged in Package: (null) OS Release: Fedora release 18 (Spherical Cow)
Package selinux-policy-3.11.1-73.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-73.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-1272/selinux-policy-3.11.1-73.fc18 then log in and leave karma (feedback).
selinux-policy-3.11.1-73.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.