Additional info: libreport version: 2.0.13 kernel: 3.3.4-5.fc17.x86_64 description: :SELinux is preventing /usr/libexec/colord-sane from 'search' accesses on the directory /data/projects. : :***** Plugin restorecon (99.5 confidence) suggests ************************* : :If you want to fix the label. :/data/projects default label should be default_t. :Then you can run restorecon. :Do :# /sbin/restorecon -v /data/projects : :***** Plugin catchall (1.49 confidence) suggests *************************** : :If you believe that colord-sane should be allowed search access on the projects 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 colord-sane /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:object_r:user_home_t:s0 :Target Objects /data/projects [ dir ] :Source colord-sane :Source Path /usr/libexec/colord-sane :Port <Unknown> :Host (removed) :Source RPM Packages colord-0.1.22-2.fc18.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.11.1-21.fc18.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.3.4-5.fc17.x86_64 #1 SMP Mon May : 7 17:29:34 UTC 2012 x86_64 x86_64 :Alert Count 2 :First Seen 2012-09-19 15:22:28 CEST :Last Seen 2012-09-19 15:22:28 CEST :Local ID 577e2872-8d08-4116-9a7e-8a5d5285d9f1 : :Raw Audit Messages :type=AVC msg=audit(1348060948.172:355): avc: denied { search } for pid=1660 comm="colord-sane" name="projects" dev="sdd1" ino=631620 scontext=system_u:system_r:colord_t:s0 tcontext=system_u:object_r:user_home_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1348060948.172:355): arch=x86_64 syscall=mkdir success=no exit=EACCES a0=7fff2a185390 a1=1ed a2=fffffffffffffff3 a3=3c items=0 ppid=1 pid=1660 auid=4294967295 uid=996 gid=994 euid=996 suid=996 fsuid=996 egid=994 sgid=994 fsgid=994 tty=(none) ses=4294967295 comm=colord-sane exe=/usr/libexec/colord-sane subj=system_u:system_r:colord_t:s0 key=(null) : :Hash: colord-sane,colord_t,user_home_t,dir,search : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :
Created attachment 614384 [details] File: type
Created attachment 614385 [details] File: hashmarkername
Any idea what colord-sane is looking for in /data/projects?
No idea. That's my project build directory. I didn't start colord from the command line or anything like that, so I have no idea why it's touching that dir. This could be a colord bug.
colord-sane does a lot of things and should be dropped soon, right?
(In reply to comment #5) > colord-sane does a lot of things and should be dropped soon, right? It's gone from colord upstream.
*** Bug 859656 has been marked as a duplicate of this bug. ***
*** Bug 860124 has been marked as a duplicate of this bug. ***
*** Bug 872325 has been marked as a duplicate of this bug. ***
*** Bug 873954 has been marked as a duplicate of this bug. ***
*** Bug 875424 has been marked as a duplicate of this bug. ***
*** Bug 890255 has been marked as a duplicate of this bug. ***
*** Bug 888130 has been marked as a duplicate of this bug. ***