Bug 1478262 - SELinux is preventing gdbus from 'read' accesses on the file /home/dario/.local/share/icc/edid-228972e93f617bb1dcfe01caeca71b15.icc.
SELinux is preventing gdbus from 'read' accesses on the file /home/dario/.loc...
Status: NEW
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
i686 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lukas Vrabec
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2017-08-04 02:54 EDT by Dario
Modified: 2017-08-04 02:54 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dario 2017-08-04 02:54:24 EDT
Description of problem:
SELinux is preventing gdbus from 'read' accesses on the file /home/dario/.local/share/icc/edid-228972e93f617bb1dcfe01caeca71b15.icc.

*****  Plugin restorecon (99.5 confidence) suggests   ************************

If si desidera sistemare l'etichetta. 
L'etichetta predefinita di /home/dario/.local/share/icc/edid-228972e93f617bb1dcfe01caeca71b15.icc dovrebbe essere icc_data_home_t.
Then you can run restorecon. The access attempt may have been stopped due to insufficient permissions to access a parent directory in which case try to change the following command accordingly.
# /sbin/restorecon -v /home/dario/.local/share/icc/edid-228972e93f617bb1dcfe01caeca71b15.icc

*****  Plugin catchall (1.49 confidence) suggests   **************************

If si crede che gdbus dovrebbe avere possibilità di accesso read sui edid-228972e93f617bb1dcfe01caeca71b15.icc file in modo predefinito.
Then si dovrebbe riportare il problema come bug.
E' possibile generare un modulo di politica locale per consentire questo accesso.
allow this access for now by executing:
# ausearch -c 'gdbus' --raw | audit2allow -M my-gdbus
# semodule -X 300 -i my-gdbus.pp

Additional Information:
Source Context                system_u:system_r:colord_t:s0
Target Context                system_u:object_r:unlabeled_t:s0
Target Objects                /home/dario/.local/share/icc/edid-228972e93f617bb1
                              dcfe01caeca71b15.icc [ file ]
Source                        gdbus
Source Path                   gdbus
Port                          <Sconosciuto>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-260.3.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.11.11-300.fc26.i686+PAE #1 SMP
                              Mon Jul 17 16:53:51 UTC 2017 i686 i686
Alert Count                   1
First Seen                    2017-08-04 08:42:28 CEST
Last Seen                     2017-08-04 08:42:28 CEST
Local ID                      473b142a-4c00-4675-84e3-8522e1858718

Raw Audit Messages
type=AVC msg=audit(1501828948.909:212): avc:  denied  { read } for  pid=1626 comm="gdbus" path="/home/dario/.local/share/icc/edid-228972e93f617bb1dcfe01caeca71b15.icc" dev="dm-2" ino=1179758 scontext=system_u:system_r:colord_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=0

Hash: gdbus,colord_t,unlabeled_t,file,read

Version-Release number of selected component:

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.11.11-300.fc26.i686+PAE
type:           libreport

Potential duplicate: bug 1226356

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