Bug 785698

Summary: SELinux is preventing dbus-daemon from 'read' accesses on the file online.
Product: [Fedora] Fedora Reporter: Tim Hughes <thughes>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA 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: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f27ede1f35de349eb2ca3cb2250c84a1bc06050d034ce462bac8bcfec6bd6ed5
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-30 13:01:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tim Hughes 2012-01-30 11:55:55 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.9-1.fc16.x86_64
reason:         SELinux is preventing dbus-daemon from 'read' accesses on the file online.
time:           Mon 30 Jan 2012 11:55:44 AM GMT

description:
:SELinux is preventing dbus-daemon from 'read' accesses on the file online.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that dbus-daemon should be allowed read access on the online 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:xdm_dbusd_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:sysfs_t:s0
:Target Objects                online [ file ]
:Source                        dbus-daemon
:Source Path                   dbus-daemon
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-46.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.9-1.fc16.x86_64
:                              #1 SMP Fri Jan 13 16:37:42 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    Mon 30 Jan 2012 11:20:35 AM GMT
:Last Seen                     Mon 30 Jan 2012 11:20:35 AM GMT
:Local ID                      402278d5-38c3-4bc9-a588-efea946ae177
:
:Raw Audit Messages
:type=AVC msg=audit(1327922435.812:163): avc:  denied  { read } for  pid=3080 comm="dbus-daemon" name="online" dev=sysfs ino=34 scontext=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sysfs_t:s0 tclass=file
:
:
:Hash: dbus-daemon,xdm_dbusd_t,sysfs_t,file,read
:
:audit2allow
:
:#============= xdm_dbusd_t ==============
:allow xdm_dbusd_t sysfs_t:file read;
:
:audit2allow -R
:
:#============= xdm_dbusd_t ==============
:allow xdm_dbusd_t sysfs_t:file read;
:

Comment 1 Miroslav Grepl 2012-01-30 13:01:44 UTC
Could you update to the latest policy

# yum update selinux-policy-targeted