Bug 1710113

Summary: SELinux is preventing dbus-broker-lau from 'execute_no_trans' accesses on the file /usr/bin/dbus-broker.
Product: [Fedora] Fedora Reporter: Stewart Smith <stewart>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: dwalsh, lvrabec, mgrepl, plautrba, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:60e8dff597316f122d27a95ee3736e401859ccb9629f108ead9031de1fded0ac;VARIANT_ID=workstation;
Fixed In Version: selinux-policy-3.14.3-37.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-21 01:09:29 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 Stewart Smith 2019-05-14 21:54:16 UTC
Description of problem:
Log in to Fedora 30 system after upgrade from 29.

User account is staff role, default GNOME graphical login.
SELinux is preventing dbus-broker-lau from 'execute_no_trans' accesses on the file /usr/bin/dbus-broker.

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

If you believe that dbus-broker-lau should be allowed execute_no_trans access on the dbus-broker 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 'dbus-broker-lau' --raw | audit2allow -M my-dbusbrokerlau
# semodule -X 300 -i my-dbusbrokerlau.pp

Additional Information:
Source Context                staff_u:staff_r:staff_dbusd_t:s0-s0:c0.c1023
Target Context                system_u:object_r:dbusd_exec_t:s0
Target Objects                /usr/bin/dbus-broker [ file ]
Source                        dbus-broker-lau
Source Path                   dbus-broker-lau
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           dbus-broker-21-3.fc30.x86_64
Policy RPM                    selinux-policy-3.14.3-35.fc30.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.0.14-300.fc30.x86_64 #1 SMP Thu
                              May 9 10:43:38 UTC 2019 x86_64 x86_64
Alert Count                   9
First Seen                    2019-05-15 07:51:13 AEST
Last Seen                     2019-05-15 07:51:49 AEST
Local ID                      cd339974-d72b-4587-9ae8-9a7bec6471fb

Raw Audit Messages
type=AVC msg=audit(1557870709.346:348): avc:  denied  { execute_no_trans } for  pid=3471 comm="dbus-broker-lau" path="/usr/bin/dbus-broker" dev="dm-1" ino=69269104 scontext=staff_u:staff_r:staff_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dbusd_exec_t:s0 tclass=file permissive=0


Hash: dbus-broker-lau,staff_dbusd_t,dbusd_exec_t,file,execute_no_trans

Version-Release number of selected component:
selinux-policy-3.14.3-35.fc30.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.10.0
hashmarkername: setroubleshoot
kernel:         5.0.14-300.fc30.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2019-05-15 13:32:34 UTC
commit 6eadb95f5e0122f2e132aa4c64984e84f39bfc5e (HEAD -> rawhide, origin/rawhide, origin/HEAD)
Author: Lukas Vrabec <lvrabec>
Date:   Wed May 15 15:32:09 2019 +0200

    Allow userdomains dbus domain to execute dbus broker. BZ(1710113)

Comment 2 Fedora Update System 2019-05-18 11:03:24 UTC
selinux-policy-3.14.3-37.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-40c077f70d

Comment 3 Fedora Update System 2019-05-19 00:50:57 UTC
selinux-policy-3.14.3-37.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-40c077f70d

Comment 4 Fedora Update System 2019-05-21 01:09:29 UTC
selinux-policy-3.14.3-37.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.