Bug 752193

Summary: SELinux is preventing /bin/dbus-daemon from 'read' accesses on the file /home/chrys/.local/share/icc/edid-d3a4722bb7fec351551987932ef4473d.icc.
Product: [Fedora] Fedora Reporter: chrys87
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:38fd5353dae8f778c20a677a933064e7ff9f7c50a05b4efa69fbb454ca2f5e57
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-08 19:33:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description chrys87 2011-11-08 19:24:07 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-7.fc16.i686
reason:         SELinux is preventing /bin/dbus-daemon from 'read' accesses on the file /home/chrys/.local/share/icc/edid-d3a4722bb7fec351551987932ef4473d.icc.
time:           Tue Nov  8 19:23:19 2011

description:
:SELinux is preventing /bin/dbus-daemon from 'read' accesses on the file /home/chrys/.local/share/icc/edid-d3a4722bb7fec351551987932ef4473d.icc.
:
:*****  Plugin restorecon (99.5 confidence) suggests  *************************
:
:If you want to fix the label. 
:/home/chrys/.local/share/icc/edid-d3a4722bb7fec351551987932ef4473d.icc default label should be icc_data_home_t.
:Then you can run restorecon.
:Do
:# /sbin/restorecon -v /home/chrys/.local/share/icc/edid-d3a4722bb7fec351551987932ef4473d.icc
:
:*****  Plugin catchall (1.49 confidence) suggests  ***************************
:
:If you believe that dbus-daemon should be allowed read access on the edid-d3a4722bb7fec351551987932ef4473d.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:
:# grep dbus-daemon /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:system_dbusd_t:s0-s0:c0.c1023
:Target Context                unconfined_u:object_r:gconf_home_t:s0
:Target Objects                /home/chrys/.local/share/icc/edid-
:                              d3a4722bb7fec351551987932ef4473d.icc [ file ]
:Source                        dbus-daemon
:Source Path                   /bin/dbus-daemon
:Port                          <Unbekannt>
:Host                          (removed)
:Source RPM Packages           dbus-1.4.10-3.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-51.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.0-7.fc16.i686 #1 SMP Tue
:                              Nov 1 21:00:16 UTC 2011 i686 i686
:Alert Count                   8
:First Seen                    Di 08 Nov 2011 18:48:12 CET
:Last Seen                     Di 08 Nov 2011 19:22:31 CET
:Local ID                      29963626-6285-4373-994c-4bb9ac1de1ec
:
:Raw Audit Messages
:type=AVC msg=audit(1320776551.364:97): avc:  denied  { read } for  pid=923 comm="dbus-daemon" path="/home/chrys/.local/share/icc/edid-d3a4722bb7fec351551987932ef4473d.icc" dev=sda5 ino=17831 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:gconf_home_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1320776551.364:97): arch=i386 syscall=socketcall success=yes exit=1271 a0=11 a1=bf838550 a2=80a0ff4 a3=0 items=0 ppid=1 pid=923 auid=4294967295 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81 sgid=81 fsgid=81 tty=(none) ses=4294967295 comm=dbus-daemon exe=/bin/dbus-daemon subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 key=(null)
:
:Hash: dbus-daemon,system_dbusd_t,gconf_home_t,file,read
:
:audit2allow
:
:#============= system_dbusd_t ==============
:allow system_dbusd_t gconf_home_t:file read;
:
:audit2allow -R
:
:#============= system_dbusd_t ==============
:allow system_dbusd_t gconf_home_t:file read;
:

Comment 1 Daniel Walsh 2011-11-08 19:33:48 UTC
restorecon -R -v ~/

Should fix the problem.

We have an existing bug on this.

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