Bug 768564 - SELinux is preventing /usr/libexec/colord from 'read' accesses on the file fstab.
Summary: SELinux is preventing /usr/libexec/colord from 'read' accesses on the file fs...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b8bc086dec84ff5383fc5298b1c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-17 03:29 UTC by Benjamin Kingston
Modified: 2011-12-18 20:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-18 20:37:17 UTC
Type: ---


Attachments (Terms of Use)

Description Benjamin Kingston 2011-12-17 03:29:27 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.5-2.fc16.x86_64
reason:         SELinux is preventing /usr/libexec/colord from 'read' accesses on the file fstab.
time:           Fri 16 Dec 2011 08:28:20 PM MST

description:
:SELinux is preventing /usr/libexec/colord from 'read' accesses on the file fstab.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that colord should be allowed read access on the fstab 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:root_t:s0
:Target Objects                fstab [ file ]
:Source                        colord
:Source Path                   /usr/libexec/colord
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           colord-0.1.15-1.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-64.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed)
:                              3.1.5-2.fc16.x86_64 #1 SMP Mon Dec 12 21:25:51 UTC
:                              2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    Fri 16 Dec 2011 08:23:38 PM MST
:Last Seen                     Fri 16 Dec 2011 08:23:38 PM MST
:Local ID                      d71ea433-c8d0-4184-b3f4-2234ff5967a9
:
:Raw Audit Messages
:type=AVC msg=audit(1324092218.608:87): avc:  denied  { read } for  pid=2288 comm="colord" name="fstab" dev=dm-1 ino=336 scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1324092218.608:87): arch=x86_64 syscall=open success=no exit=EACCES a0=7f10d7d47ea1 a1=0 a2=1b6 a3=238 items=0 ppid=1 pid=2288 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,root_t,file,read
:
:audit2allow
:
:#============= colord_t ==============
:allow colord_t root_t:file read;
:
:audit2allow -R
:
:#============= colord_t ==============
:allow colord_t root_t:file read;
:

Comment 1 Miroslav Grepl 2011-12-18 20:37:17 UTC
Not sure how your fstab got this mislabeling. 

# restorecon -R -v /etc/fstab

will fix. Any idea? Did you change the /etc/fstab label?


Note You need to log in before you can comment on or make changes to this bug.