Bug 785698 - SELinux is preventing dbus-daemon from 'read' accesses on the file online.
Summary: SELinux is preventing dbus-daemon from 'read' accesses on the file online.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f27ede1f35de349eb2ca3cb2250...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-30 11:55 UTC by Tim Hughes
Modified: 2012-01-30 13:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-30 13:01:44 UTC
Type: ---


Attachments (Terms of Use)

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


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