Bug 2209664 - SELinux is preventing rpcd_winreg from connectto access on the unix_stream_socket /run/systemd/userdb/io.systemd.Machine.
Summary: SELinux is preventing rpcd_winreg from connectto access on the unix_stream_so...
Keywords:
Status: CLOSED DUPLICATE of bug 2208845
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 38
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-24 12:14 UTC by Enrique Alonso
Modified: 2023-05-24 12:59 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-24 12:59:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Enrique Alonso 2023-05-24 12:14:21 UTC
I cannot access from a Windows machine to a Samba shared printer in a Fedora 38 Server, joined to an Active Directory using Samba + Winbind.    

The SELinux audit log is showing:
type=AVC msg=audit(1684912507.200:888): avc: denied { connectto } for pid=25101 comm="rpcd_spoolss" path="/run/systemd/userdb/io.systemd.Machine" scontext=system_u:system_r:winbind_rpcd_t:s0 tcontext=system_u:system_r:systemd_machined_t:s0 tclass=unix_stream_socket permissive=0 

Reproducible: Always

Comment 1 Zdenek Pytela 2023-05-24 12:59:30 UTC

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


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