Bug 1321400 - SELinux is preventing colord from 'getattr' accesses on the file /etc/udev/hwdb.bin.
Summary: SELinux is preventing colord from 'getattr' accesses on the file /etc/udev/hw...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:447af7088bac06dafb3c5e029a9...
: 1322964 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-26 09:18 UTC by hx
Modified: 2016-04-05 16:19 UTC (History)
10 users (show)

Fixed In Version: selinux-policy-3.13.1-180.fc24 selinux-policy-3.13.1-158.12.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-05 13:52:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description hx 2016-03-26 09:18:50 UTC
Description of problem:
SELinux is preventing colord from 'getattr' accesses on the file /etc/udev/hwdb.bin.

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

If you believe that colord should be allowed getattr 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                /etc/udev/hwdb.bin [ file ]
Source                        colord
Source Path                   colord
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           systemd-222-14.fc23.x86_64
Policy RPM                    selinux-policy-3.13.1-158.11.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.4.6-300.fc23.x86_64 #1 SMP Wed
                              Mar 16 22:10:37 UTC 2016 x86_64 x86_64
Alert Count                   2
First Seen                    2016-03-25 14:49:47 EET
Last Seen                     2016-03-26 10:55:39 EET
Local ID                      672ef9c6-e24f-4517-a920-c31527056fa6

Raw Audit Messages
type=AVC msg=audit(1458982539.932:283): avc:  denied  { getattr } for  pid=1670 comm="colord" path="/etc/udev/hwdb.bin" dev="dm-1" ino=1312350 scontext=system_u:system_r:colord_t:s0 tcontext=unconfined_u:object_r:systemd_hwdb_etc_t:s0 tclass=file permissive=1


Hash: colord,colord_t,systemd_hwdb_etc_t,file,getattr

Version-Release number of selected component:
selinux-policy-3.13.1-158.11.fc23.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.4.6-300.fc23.x86_64
type:           libreport

Comment 1 Fedora Update System 2016-03-30 14:41:08 UTC
selinux-policy-3.13.1-158.12.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1cdba6b1c7

Comment 2 Fedora Update System 2016-03-30 22:54:45 UTC
selinux-policy-3.13.1-158.12.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1cdba6b1c7

Comment 3 Danie de Jager 2016-03-31 05:48:37 UTC
Description of problem:
Upgraded OS using DNF and restarted. Saw the notification.

Version-Release number of selected component:
selinux-policy-3.13.1-158.11.fc23.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.4.6-300.fc23.x86_64
type:           libreport

Comment 4 Nicholas 2016-03-31 19:01:49 UTC
*** Bug 1322964 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2016-04-05 13:52:16 UTC
selinux-policy-3.13.1-158.12.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2016-04-05 16:19:55 UTC
selinux-policy-3.13.1-158.12.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


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