Bug 722500 - SELinux is preventing dbus-daemon from 'write' accesses on the fifo_file /run/systemd/sessions/2.ref.
Summary: SELinux is preventing dbus-daemon from 'write' accesses on the fifo_file /run...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:23b077a45f6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-15 14:42 UTC by Jason D. Clinton
Modified: 2011-07-26 16:21 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-15 17:44:21 UTC
Type: ---


Attachments (Terms of Use)

Description Jason D. Clinton 2011-07-15 14:42:05 UTC
SELinux is preventing dbus-daemon from 'write' accesses on the fifo_file /run/systemd/sessions/2.ref.

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

If you believe that dbus-daemon should be allowed write access on the 2.ref fifo_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                system_u:object_r:init_var_run_t:s0
Target Objects                /run/systemd/sessions/2.ref [ fifo_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-3.fc16
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed)
                              3.0-0.rc7.git0.1.fc16.x86_64 #1 SMP Tue Jul 12
                              12:57:40 UTC 2011 x86_64 x86_64
Alert Count                   2
First Seen                    Fri 15 Jul 2011 08:52:45 AM CDT
Last Seen                     Fri 15 Jul 2011 09:01:01 AM CDT
Local ID                      752c0735-2b28-4080-b61c-d0a6d324e9f6

Raw Audit Messages
type=AVC msg=audit(1310738461.797:71): avc:  denied  { write } for  pid=1030 comm="dbus-daemon" path="/run/systemd/sessions/2.ref" dev=tmpfs ino=22496 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:init_var_run_t:s0 tclass=fifo_file


Hash: dbus-daemon,system_dbusd_t,init_var_run_t,fifo_file,write

audit2allow

#============= system_dbusd_t ==============
allow system_dbusd_t init_var_run_t:fifo_file write;

audit2allow -R

#============= system_dbusd_t ==============
allow system_dbusd_t init_var_run_t:fifo_file write;

Comment 1 Daniel Walsh 2011-07-15 17:44:21 UTC
Fixed in selinux-policy-3.10.0-5.fc16


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