FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

LinkBack Thread Tools
Old 06-06-2011, 07:10 PM
Lawrence E Graves
Default SELinux is preventing /usr/libexec/colord from getattr access on the file /usr/local/Brother/sane/models3/ext1.ini.

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.
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_ubject_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 #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_ubject_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


#============= colord_t ==============
allow colord_t bin_t:file getattr;

audit2allow -R

#============= colord_t ==============
allow colord_t bin_t:file getattr;

Lawrence E Graves <lgraves@risingstarmbc.com>

users mailing list
To unsubscribe or change subscription options:
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Thread Tools

All times are GMT. The time now is 05:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org