Bug 1862685 - SELinux is preventing gdm-session-wor from 'connectto' accesses on the unix_stream_socket /run/systemd/userdb/io.systemd.Machine.
Summary: SELinux is preventing gdm-session-wor from 'connectto' accesses on the unix_s...
Keywords:
Status: CLOSED DUPLICATE of bug 1865748
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 33
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d46b918989a5f4c23465167ea22...
Depends On: 1812955
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-01 10:02 UTC by Mikhail
Modified: 2020-08-12 11:54 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-12 11:54:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1862686 0 high CLOSED SELinux is preventing systemd-machine from 'create' accesses on the sock_file io.systemd.Machine. 2021-02-22 00:41:40 UTC

Description Mikhail 2020-08-01 10:02:37 UTC
Description of problem:
SELinux is preventing gdm-session-wor from 'connectto' accesses on the unix_stream_socket /run/systemd/userdb/io.systemd.Machine.

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

If you believe that gdm-session-wor should be allowed connectto access on the io.systemd.Machine unix_stream_socket 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 'gdm-session-wor' --raw | audit2allow -M my-gdmsessionwor
# semodule -X 300 -i my-gdmsessionwor.pp

Additional Information:
Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:system_r:systemd_machined_t:s0
Target Objects                /run/systemd/userdb/io.systemd.Machine [
                              unix_stream_socket ]
Source                        gdm-session-wor
Source Path                   gdm-session-wor
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-3.14.6-20.fc33.noarch
Local Policy RPM              selinux-policy-targeted-3.14.6-20.fc33.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 5.8.0-0.rc7.1.fc33.x86_64 #1 SMP
                              Thu Jul 30 18:24:26 UTC 2020 x86_64 x86_64
Alert Count                   3
First Seen                    2020-08-01 14:59:44 +05
Last Seen                     2020-08-01 14:59:51 +05
Local ID                      6d6a87bd-8daa-4d47-be12-6f224cb7e7c5

Raw Audit Messages
type=AVC msg=audit(1596275991.31:278): avc:  denied  { connectto } for  pid=2199 comm="gdm-session-wor" path="/run/systemd/userdb/io.systemd.Machine" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:systemd_machined_t:s0 tclass=unix_stream_socket permissive=1


Hash: gdm-session-wor,xdm_t,systemd_machined_t,unix_stream_socket,connectto

Version-Release number of selected component:
selinux-policy-targeted-3.14.6-20.fc33.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.13.1
hashmarkername: setroubleshoot
kernel:         5.8.0-0.rc7.1.fc33.x86_64
type:           libreport

Comment 1 Ben Cotton 2020-08-11 15:34:12 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 2 Zdenek Pytela 2020-08-12 11:54:22 UTC

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


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