Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   SELinux is preventing /usr/libexec/colord from getattr access on the file /usr/local/Brother/sane/models3/ext4.ini. (http://www.linux-archive.org/fedora-user/535740-selinux-preventing-usr-libexec-colord-getattr-access-file-usr-local-brother-sane-models3-ext4-ini.html)

Lawrence E Graves 06-06-2011 12:19 PM

SELinux is preventing /usr/libexec/colord from getattr access on the file /usr/local/Brother/sane/models3/ext4.ini.
 
SELinux is preventing /usr/libexec/colord from getattr access on the file /usr/local/Brother/sane/models3/ext4.ini.

***** Plugin catchall (100. confidence) suggests ***************************

If you believe that colord should be allowed getattr access on the ext4.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/ext4.ini [ file ]
Source colord
Source Path /usr/libexec/colord
Port <Unknown>
Host Jehovah.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 Jehovah.localdomain
Platform Linux Jehovah.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 1
First Seen Mon 06 Jun 2011 04:13:34 AM MDT
Last Seen Mon 06 Jun 2011 04:13:34 AM MDT
Local ID 07355682-8515-4bac-8785-24e43ad6e6eb

Raw Audit Messages
type=AVC msg=audit(1307355214.931:28): avc: denied { getattr } for pid=1148 comm="colord" path="/usr/local/Brother/sane/models3/ext4.ini" dev=dm-1 ino=1325526 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(1307355214.931:28): arch=x86_64 syscall=fstat success=yes exit=0 a0=12 a1=7fff835910b0 a2=7fff835910b0 a3=7fff83590fa0 items=0 ppid=1 pid=1148 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@risingstarmbc.com>

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Lawrence E Graves 06-07-2011 01:47 PM

SELinux is preventing /usr/libexec/colord from getattr access on the file /usr/local/Brother/sane/models3/ext4.ini.
 
SELinux is preventing /usr/libexec/colord from getattr access on the file /usr/local/Brother/sane/models3/ext4.ini.

***** Plugin catchall (100. confidence) suggests ***************************

If you believe that colord should be allowed getattr access on the ext4.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/ext4.ini [ file ]
Source colord
Source Path /usr/libexec/colord
Port <Unknown>
Host Jehovah.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 Jehovah.localdomain
Platform Linux Jehovah.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 5
First Seen Mon 06 Jun 2011 06:40:50 AM MDT
Last Seen Tue 07 Jun 2011 05:20:41 AM MDT
Local ID 5284eedd-a207-486b-a7d9-09af2e567072

Raw Audit Messages
type=AVC msg=audit(1307445641.672:26): avc: denied { getattr } for pid=1136 comm="colord" path="/usr/local/Brother/sane/models3/ext4.ini" dev=dm-1 ino=1325526 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(1307445641.672:26): arch=x86_64 syscall=fstat success=yes exit=0 a0=12 a1=7fffa928d6a0 a2=7fffa928d6a0 a3=7fffa928d5a0 items=0 ppid=1 pid=1136 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@risingstarmbc.com>

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


All times are GMT. The time now is 09:47 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.