SELinux is preventing /usr/libexec/colord from getattr access on the file /usr/local/Brother/sane/models3/ext1.ini.
Lawrence E Graves
lgraves at risingstarmbc.com
Mon Jun 6 19:10:48 UTC 2011
This is what I got when using the command you given me. chcon command
SELinux is preventing /usr/libexec/colord from getattr access on the file /usr/local/Brother/sane/models3/ext1.ini.
***** Plugin catchall (100. confidence) suggests ***************************
If you believe that colord should be allowed getattr access on the ext1.ini file 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 /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp
Additional Information:
Source Context system_u:system_r:colord_t:s0-s0:c0.c1023
Target Context system_u:object_r:bin_t:s0
Target Objects /usr/local/Brother/sane/models3/ext1.ini [ file ]
Source colord
Source Path /usr/libexec/colord
Port <Unknown>
Host JesusChrist.localdomain
Source RPM Packages colord-0.1.7-1.fc15
Target RPM Packages brscan3-0.2.11-4
Policy RPM selinux-policy-3.9.16-26.fc15
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name JesusChrist.localdomain
Platform Linux JesusChrist.localdomain
2.6.38.7-30.fc15.x86_64 #1 SMP Fri May 27 05:15:53
UTC 2011 x86_64 x86_64
Alert Count 2
First Seen Mon 06 Jun 2011 10:57:21 AM MDT
Last Seen Mon 06 Jun 2011 12:46:24 PM MDT
Local ID aadfaddf-1131-418c-af42-c46d79803ac2
Raw Audit Messages
type=AVC msg=audit(1307385984.492:28): avc: denied { getattr } for pid=1265 comm="colord" path="/usr/local/Brother/sane/models3/ext1.ini" dev=dm-1 ino=2774893 scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=system_u:object_r:bin_t:s0 tclass=file
type=SYSCALL msg=audit(1307385984.492:28): arch=x86_64 syscall=fstat success=yes exit=0 a0=12 a1=7fff576a9e30 a2=7fff576a9e30 a3=7fff576a9d20 items=0 ppid=1 pid=1265 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=colord exe=/usr/libexec/colord subj=system_u:system_r:colord_t:s0-s0:c0.c1023 key=(null)
Hash: colord,colord_t,bin_t,file,getattr
audit2allow
#============= colord_t ==============
allow colord_t bin_t:file getattr;
audit2allow -R
#============= colord_t ==============
allow colord_t bin_t:file getattr;
--
Lawrence E Graves <lgraves at risingstarmbc.com>
More information about the users
mailing list