Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1317259 - SELinux is preventing colord from 'read' accesses on the file hwdb.bin.
Summary: SELinux is preventing colord from 'read' accesses on the file hwdb.bin.
Keywords:
Status: CLOSED DUPLICATE of bug 1316514
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:559041157b3fc72d1501f3e4db8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-13 13:18 UTC by Joachim Frieben
Modified: 2016-03-15 16:21 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-15 16:21:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joachim Frieben 2016-03-13 13:18:43 UTC
Description of problem:
SELinux is preventing colord from 'read' accesses on the file hwdb.bin.

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

If you believe that colord should be allowed read access on the hwdb.bin 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
Target Context                unconfined_u:object_r:systemd_hwdb_etc_t:s0
Target Objects                hwdb.bin [ file ]
Source                        colord
Source Path                   colord
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-178.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.5.0-0.rc7.git0.2.fc24.x86_64 #1
                              SMP Tue Mar 8 02:20:08 UTC 2016 x86_64 x86_64
Alert Count                   2
First Seen                    2016-03-13 14:16:08 CET
Last Seen                     2016-03-13 14:16:08 CET
Local ID                      e426d9d4-b668-438f-88fa-b2d6fd3b0470

Raw Audit Messages
type=AVC msg=audit(1457874968.901:306): avc:  denied  { read } for  pid=1528 comm="colord" name="hwdb.bin" dev="dm-0" ino=800518 scontext=system_u:system_r:colord_t:s0 tcontext=unconfined_u:object_r:systemd_hwdb_etc_t:s0 tclass=file permissive=0


Hash: colord,colord_t,systemd_hwdb_etc_t,file,read

Version-Release number of selected component:
selinux-policy-3.13.1-178.fc24.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.5.0-0.rc7.git0.2.fc24.x86_64
type:           libreport

Potential duplicate: bug 1316514

Comment 1 Lukas Vrabec 2016-03-15 16:21:18 UTC

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


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