Bug 1310378

Summary: SELinux is preventing dbus-daemon from 'write' accesses on the fifo_file /run/systemd/inhibit/6.ref.
Product: [Fedora] Fedora Reporter: Charles R. Anderson <cra>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:163a781453584d4c97921a7fa63a41918208956a095bde30a10f6503d6dffd84;VARIANT_ID=workstation;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-21 04:00:08 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 Charles R. Anderson 2016-02-21 03:44:49 UTC
Description of problem:
Boot into Fedora-Live-Workstation-x86_64-rawhide-20160220.iso with enforcing=0.
SELinux is preventing dbus-daemon from 'write' accesses on the fifo_file /run/systemd/inhibit/6.ref.

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

If you believe that dbus-daemon should be allowed write access on the 6.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:default_t:s0
Target Objects                /run/systemd/inhibit/6.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.13.1-171.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.5.0-0.rc4.git3.1.fc24.x86_64 #1
                              SMP Fri Feb 19 19:38:12 UTC 2016 x86_64 x86_64
Alert Count                   4
First Seen                    2016-02-20 22:32:17 EST
Last Seen                     2016-02-20 22:32:36 EST
Local ID                      417fc0f7-6d83-42ad-9835-cc10b9042fce

Raw Audit Messages
type=AVC msg=audit(1456025556.14:374): avc:  denied  { write } for  pid=1154 comm="dbus-daemon" path="/run/systemd/inhibit/6.ref" dev="tmpfs" ino=35440 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:default_t:s0 tclass=fifo_file permissive=1


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

Version-Release number of selected component:
selinux-policy-3.13.1-171.fc24.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.5.0-0.rc4.git3.1.fc24.x86_64
type:           libreport

Comment 1 Charles R. Anderson 2016-02-21 04:00:08 UTC

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