Bug 828373 - SELinux is preventing /usr/libexec/colord-sane from 'open' accesses on the chr_file /dev/bus/usb/001/001.
Summary: SELinux is preventing /usr/libexec/colord-sane from 'open' accesses on the ch...
Keywords:
Status: CLOSED DUPLICATE of bug 828375
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:bf419ee886a0b56e8a0edfb0311...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-04 17:32 UTC by Nicolas Mailhot
Modified: 2012-06-04 19:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-04 19:50:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nicolas Mailhot 2012-06-04 17:32:03 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.5.0-0.rc1.git0.1.fc18.x86_64
time:           lun. 04 juin 2012 19:19:37 CEST

description:
:SELinux is preventing /usr/libexec/colord-sane from 'open' accesses on the chr_file /dev/bus/usb/001/001.
:
:*****  Plugin restorecon (99.5 confidence) suggests  *************************
:
:If you want to fix the label. 
:/dev/bus/usb/001/001 default label should be usb_device_t.
:Then you can run restorecon.
:Do
:# /sbin/restorecon -v /dev/bus/usb/001/001
:
:*****  Plugin catchall (1.49 confidence) suggests  ***************************
:
:If you believe that colord-sane should be allowed open access on the 001 chr_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-sane /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:colord_t:s0
:Target Context                system_u:object_r:default_t:s0
:Target Objects                /dev/bus/usb/001/001 [ chr_file ]
:Source                        colord-sane
:Source Path                   /usr/libexec/colord-sane
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           colord-0.1.21-1.fc18.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-128.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.5.0-0.rc1.git0.1.fc18.x86_64 #1
:                              SMP Sun Jun 3 14:07:54 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    lun. 04 juin 2012 19:17:35 CEST
:Last Seen                     lun. 04 juin 2012 19:17:35 CEST
:Local ID                      1d72bc56-9b93-476f-b147-d8cf69aa8861
:
:Raw Audit Messages
:type=AVC msg=audit(1338830255.292:117): avc:  denied  { open } for  pid=885 comm="colord-sane" path="/dev/bus/usb/001/001" dev="devtmpfs" ino=7260 scontext=system_u:system_r:colord_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=chr_file
:
:
:type=SYSCALL msg=audit(1338830255.292:117): arch=x86_64 syscall=open success=yes exit=EAGAIN a0=7fff52e40800 a1=0 a2=7fff52e40814 a3=7fff52e40538 items=0 ppid=1 pid=885 auid=4294967295 uid=112 gid=112 euid=112 suid=112 fsuid=112 egid=112 sgid=112 fsgid=112 tty=(none) ses=4294967295 comm=colord-sane exe=/usr/libexec/colord-sane subj=system_u:system_r:colord_t:s0 key=(null)
:
:Hash: colord-sane,colord_t,default_t,chr_file,open
:
:audit2allow
:
:#============= colord_t ==============
:allow colord_t default_t:chr_file open;
:
:audit2allow -R
:
:#============= colord_t ==============
:allow colord_t default_t:chr_file open;
:

Comment 1 Daniel Walsh 2012-06-04 19:50:39 UTC

*** This bug has been marked as a duplicate of bug 828375 ***


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