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 1613969 - SELinux is preventing colord from 'map' accesses on the file /home/myuser/.local/share/icc/edid-e6a5375115240064bcc0d7209d55eed8.icc.
Summary: SELinux is preventing colord from 'map' accesses on the file /home/myuser/.lo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:47e333ed972c1dd3d02496985b2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-08 16:25 UTC by dan
Modified: 2018-08-16 08:06 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.14.1-40.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-15 11:38:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description dan 2018-08-08 16:25:33 UTC
Description of problem:
SELinux is preventing colord from 'map' accesses on the file /home/dan/.local/share/icc/edid-e6a5375115240064bcc0d7209d55eed8.icc.

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

If you believe that colord should be allowed map access on the edid-e6a5375115240064bcc0d7209d55eed8.icc 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:
# ausearch -c 'colord' --raw | audit2allow -M my-colord
# semodule -X 300 -i my-colord.pp

Additional Information:
Source Context                system_u:system_r:colord_t:s0
Target Context                system_u:object_r:nfs_t:s0
Target Objects                /home/dan/.local/share/icc/edid-e6a5375115240064bc
                              c0d7209d55eed8.icc [ file ]
Source                        colord
Source Path                   colord
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.1-37.fc28.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.17.11-200.fc28.x86_64 #1 SMP Mon
                              Jul 30 15:21:09 UTC 2018 x86_64 x86_64
Alert Count                   66
First Seen                    2018-07-28 20:25:44 EDT
Last Seen                     2018-08-08 12:21:01 EDT
Local ID                      718c6c35-d72b-44c6-ac8b-3d80cf31164e

Raw Audit Messages
type=AVC msg=audit(1533745261.768:258): avc:  denied  { map } for  pid=1799 comm="colord" path="/home/dan/.local/share/icc/edid-e6a5375115240064bcc0d7209d55eed8.icc" dev="0:53" ino=62394711 scontext=system_u:system_r:colord_t:s0 tcontext=system_u:object_r:nfs_t:s0 tclass=file permissive=0


Hash: colord,colord_t,nfs_t,file,map

Version-Release number of selected component:
selinux-policy-3.14.1-37.fc28.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.5
hashmarkername: setroubleshoot
kernel:         4.17.11-200.fc28.x86_64
type:           libreport

Comment 1 Fedora Update System 2018-08-10 17:56:33 UTC
selinux-policy-3.14.1-40.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-46564d0139

Comment 2 Fedora Update System 2018-08-14 22:40:29 UTC
selinux-policy-3.14.1-40.fc28 has been pushed to the Fedora 28 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-2018-46564d0139

Comment 3 dan 2018-08-15 11:38:28 UTC
Applied.  Verified as fixed.  Can be closed.

Comment 4 Fedora Update System 2018-08-16 08:06:11 UTC
selinux-policy-3.14.1-40.fc28 has been pushed to the Fedora 28 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.