Bug 702773 - SELinux is preventing /usr/libexec/colord from 'getattr' accesses on the filesystem /media/Fedora-15-Beta-x86_64-Live-Deskt.
Summary: SELinux is preventing /usr/libexec/colord from 'getattr' accesses on the file...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:f9a92053bc9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-07 01:46 UTC by Uno Engborg
Modified: 2012-08-07 20:26 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-07 20:26:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Uno Engborg 2011-05-07 01:46:19 UTC
SELinux is preventing /usr/libexec/colord from 'getattr' accesses on the filesystem /media/Fedora-15-Beta-x86_64-Live-Deskt.

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

If you believe that colord should be allowed getattr access on the Fedora-15-Beta-x86_64-Live-Deskt filesystem 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:iso9660_t:s0
Target Objects                /media/Fedora-15-Beta-x86_64-Live-Deskt [
                              filesystem ]
Source                        colord
Source Path                   /usr/libexec/colord
Port                          <Okänd>
Host                          (removed)
Source RPM Packages           colord-0.1.1-3.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-18.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.4-20.fc15.x86_64
                              #1 SMP Thu Apr 28 23:32:48 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    fre 29 apr 2011 23.01.22
Last Seen                     fre 29 apr 2011 23.01.22
Local ID                      e6aa4d33-cb15-401f-86d2-861c7a1509bc

Raw Audit Messages
type=AVC msg=audit(1304110882.494:160): avc:  denied  { getattr } for  pid=5797 comm="colord" name="/" dev=sr0 ino=1856 scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=system_u:object_r:iso9660_t:s0 tclass=filesystem


type=SYSCALL msg=audit(1304110882.494:160): arch=x86_64 syscall=statfs success=yes exit=0 a0=25785e0 a1=7fffd386c870 a2=0 a3=38782d617465422d items=0 ppid=1 pid=5797 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,iso9660_t,filesystem,getattr

audit2allow

#============= colord_t ==============
allow colord_t iso9660_t:filesystem getattr;

audit2allow -R

#============= colord_t ==============
allow colord_t iso9660_t:filesystem getattr;

Comment 1 Miroslav Grepl 2011-05-09 15:50:39 UTC
Please update your policy

# yum update selinux-policy --enablerepo=updates-testing

Comment 2 Fedora End Of Life 2012-08-07 20:26:04 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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