Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1644783 - SELinux is preventing systemd-user-ru from 'read' accesses on the directory dbus-1.
Summary: SELinux is preventing systemd-user-ru from 'read' accesses on the directory d...
Keywords:
Status: CLOSED DUPLICATE of bug 1644313
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5a0fc536e22d6a51a5e9b57600c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-31 15:25 UTC by Mikhail
Modified: 2018-11-02 16:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-02 16:46:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mikhail 2018-10-31 15:25:14 UTC
Description of problem:
SELinux is preventing systemd-user-ru from 'read' accesses on the directory dbus-1.

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

If you believe that systemd-user-ru should be allowed read 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.3-10.fc30.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.19.0-1.fc30.x86_64 #1 SMP Mon
                              Oct 22 14:04:41 UTC 2018 x86_64 x86_64
Alert Count                   1
First Seen                    2018-10-31 20:24:25 +05
Last Seen                     2018-10-31 20:24:25 +05
Local ID                      9082a9fd-f1e3-43ee-ab39-c147ee92d064

Raw Audit Messages
type=AVC msg=audit(1540999465.253:259): avc:  denied  { read } for  pid=2954 comm="systemd-user-ru" name="dbus-1" dev="tmpfs" ino=19440 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,read

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

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.6
hashmarkername: setroubleshoot
kernel:         4.19.0-1.fc30.x86_64
type:           libreport

Potential duplicate: bug 1644313

Comment 1 Lukas Vrabec 2018-11-02 16:46:16 UTC

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


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