Bug 1361034 - SELinux is preventing gdbus from 'write' accesses on the fifo_file /run/systemd/inhibit/1.ref.
Summary: SELinux is preventing gdbus from 'write' accesses on the fifo_file /run/syste...
Keywords:
Status: CLOSED DUPLICATE of bug 1357144
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2af4b81290245108b108c0f47c7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-28 08:27 UTC by Mikhail
Modified: 2016-08-16 16:19 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-16 16:19:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mikhail 2016-07-28 08:27:37 UTC
Description of problem:
SELinux is preventing gdbus from 'write' accesses on the fifo_file /run/systemd/inhibit/1.ref.

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

If you believe that gdbus should be allowed write access on the 1.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:
# ausearch -c 'gdbus' --raw | audit2allow -M my-gdbus
# semodule -X 300 -i my-gdbus.pp

Additional Information:
Source Context                system_u:system_r:modemmanager_t:s0
Target Context                system_u:object_r:systemd_logind_inhibit_var_run_t
                              :s0
Target Objects                /run/systemd/inhibit/1.ref [ fifo_file ]
Source                        gdbus
Source Path                   gdbus
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-191.8.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.6.4-301.fc24.x86_64+debug #1 SMP
                              Tue Jul 12 11:29:25 UTC 2016 x86_64 x86_64
Alert Count                   1
First Seen                    2016-07-28 13:14:18 YEKT
Last Seen                     2016-07-28 13:14:18 YEKT
Local ID                      594098fd-472a-4d2f-9611-1a07145cf99e

Raw Audit Messages
type=AVC msg=audit(1469693658.686:103): avc:  denied  { write } for  pid=873 comm="gdbus" path="/run/systemd/inhibit/1.ref" dev="tmpfs" ino=17943 scontext=system_u:system_r:modemmanager_t:s0 tcontext=system_u:object_r:systemd_logind_inhibit_var_run_t:s0 tclass=fifo_file permissive=0


Hash: gdbus,modemmanager_t,systemd_logind_inhibit_var_run_t,fifo_file,write

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

Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.6.4-301.fc24.x86_64+debug
type:           libreport

Potential duplicate: bug 1357144

Comment 1 Lukas Vrabec 2016-08-16 16:19:04 UTC

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


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