Bug 2503144 - ssh into a fedora system SELinux is preventing sshd-session from create access on the sock_file
Summary: ssh into a fedora system SELinux is preventing sshd-session from create acces...
Keywords:
Status: CLOSED DUPLICATE of bug 2502040
Alias: None
Product: Fedora
Classification: Fedora
Component: openssh
Version: 44
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Dmitry Belyavskiy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-21 08:01 UTC by Barry Scott
Modified: 2026-07-21 08:43 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-07-21 08:43:17 UTC
Type: ---
Embargoed:
fedora-admin-xmlrpc: mirror+


Attachments (Terms of Use)

Description Barry Scott 2026-07-21 08:01:59 UTC
Installed versions

openssh-10.2p1-13.fc44.x86_64
openssh-server-10.2p1-13.fc44.x86_64
openssh-clients-10.2p1-13.fc44.x86_64

I have selinux in PERMISSIVE mode.

2026-07-21T08:57:00+01:00 systemd[1]: Started dbus-:1.3-org.fedoraproject.SetroubleshootPrivileged.
2026-07-21T08:57:00+01:00 setroubleshoot[14637]: SELinux is preventing sshd-session from create access on the sock_file s.HrVr8KuOeV.sshd.5yWzvKjBT8. For complete SELinux messages run: sealert -l 763e2241-c6ce-440f-bdab-8b74255dfe7c
2026-07-21T08:57:00+01:00 setroubleshoot[14637]: SELinux is preventing sshd-session from create access on the sock_file s.HrVr8KuOeV.sshd.5yWzvKjBT8.

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

                                                 If you believe that sshd-session should be allowed create access on the s.HrVr8KuOeV.sshd.5yWzvKjBT8 sock_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 'sshd-session' --raw | audit2allow -M my-sshdsession
                                                 # semodule -X 300 -i my-sshdsession.pp


Reproducible: Always

Steps to Reproduce:
1.ssh into a Fedora system
2.selinux error is logged.
Actual Results:
selinux alert raised

Expected Results:
no selinux errors

Comment 1 Dmitry Belyavskiy 2026-07-21 08:05:48 UTC
I suspect this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2502040

Could you please confirm and close if yes?

Comment 2 Barry Scott 2026-07-21 08:43:17 UTC
It's very likely a duplicate of 2502040
I'll close on that assumption.

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


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