Bug 2415244

Summary: SELinux is preventing blocking-2 from write access on the sock_file org.gnome.DisplayManager.
Product: [Fedora] Fedora Reporter: K Naraian <knaraian>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---Keywords: SELinux
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-11-18 17:52:22 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 K Naraian 2025-11-16 08:20:12 UTC
Hi, I'm getting the below message on my Fedora Cinnamon Desktop:

SELinux is preventing blocking-2 from write access on the sock_file org.gnome.DisplayManager.

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

If you believe that blocking-2 should be allowed write access on the org.gnome.DisplayManager 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 'blocking-2' --raw | audit2allow -M my-blocking2
semodule -X 300 -i my-blocking2.pp
Additional Information:
Source Context unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context system_u:object_r:xdm_var_run_t:s0
Target Objects org.gnome.DisplayManager [ sock_file ]
Source blocking-2
Source Path blocking-2
Port <Unknown>
Host fedora
Source RPM Packages
Target RPM Packages
SELinux Policy RPM selinux-policy-targeted-42.15-1.fc43.noarch
Local Policy RPM selinux-policy-targeted-42.15-1.fc43.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name fedora
Platform Linux fedora 6.17.7-300.fc43.x86_64 #1 SMP
PREEMPT_DYNAMIC Sun Nov 2 15:30:09 UTC 2025
x86_64
Alert Count 61
First Seen 2025-11-10 05:25:24 IST
Last Seen 2025-11-15 23:57:17 IST
Local ID e01d29ba-c0e2-43f3-8aa1-1fc029f0200c

Raw Audit Messages
type=AVC msg=audit(1763231237.706:312): avc: denied { write } for pid=15876 comm="blocking-2" name="org.gnome.DisplayManager" dev="tmpfs" ino=4312 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_var_run_t:s0 tclass=sock_file permissive=0

Hash: blocking-2,thumb_t,xdm_var_run_t,sock_file,write

Reproducible: Always




Additional Information:
cinnamon desktop

Comment 1 Zdenek Pytela 2025-11-18 17:52:22 UTC

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