Bug 1645819

Summary: SELinux is preventing systemd-user-ru from 'write' accesses on the directory dbus-1.
Product: [Fedora] Fedora Reporter: Al O <alin>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: dwalsh, lvrabec, mgrepl, plautrba, speedoctor
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:8cd30b15bf4131e9c40f849fde088f784fad135075ad66f91fed5b158d55c8c7;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-04 10:21:13 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 Al O 2018-11-04 01:45:14 UTC
Description of problem:
This happened at login (KDE)
SELinux is preventing systemd-user-ru from 'write' accesses on the directory dbus-1.

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

If you believe that systemd-user-ru should be allowed write access on the dbus-1 directory 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 'systemd-user-ru' --raw | audit2allow -M my-systemduserru
# semodule -X 300 -i my-systemduserru.pp

Additional Information:
Source Context                system_u:system_r:init_t:s0
Target Context                unconfined_u:object_r:session_dbusd_tmp_t:s0
Target Objects                dbus-1 [ dir ]
Source                        systemd-user-ru
Source Path                   systemd-user-ru
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.2-40.fc29.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.18.16-300.fc29.x86_64 #1 SMP Sat
                              Oct 20 23:24:08 UTC 2018 x86_64 x86_64
Alert Count                   1
First Seen                    2018-11-04 12:39:28 AEDT
Last Seen                     2018-11-04 12:39:28 AEDT
Local ID                      1259c4f5-7047-40d8-ad29-bea01a5f250a

Raw Audit Messages
type=AVC msg=audit(1541295568.52:268): avc:  denied  { write } for  pid=2980 comm="systemd-user-ru" name="dbus-1" dev="tmpfs" ino=35454 scontext=system_u:system_r:init_t:s0 tcontext=unconfined_u:object_r:session_dbusd_tmp_t:s0 tclass=dir permissive=0


Hash: systemd-user-ru,init_t,session_dbusd_tmp_t,dir,write

Version-Release number of selected component:
selinux-policy-3.14.2-40.fc29.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.6
hashmarkername: setroubleshoot
kernel:         4.18.16-300.fc29.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2018-11-04 10:21:13 UTC

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

Comment 2 Lucas 2018-11-04 12:59:59 UTC
*** Bug 1645863 has been marked as a duplicate of this bug. ***

Comment 3 Lucas 2018-11-08 23:19:42 UTC
*** Bug 1648160 has been marked as a duplicate of this bug. ***

Comment 4 Lucas 2018-11-11 13:09:09 UTC
*** Bug 1648660 has been marked as a duplicate of this bug. ***