Bug 2542445 - SELinux is preventing runuser from 'write' accesses on the sock_file org.gnome.DisplayManager.
Summary: SELinux is preventing runuser from 'write' accesses on the sock_file org.gnom...
Keywords:
Status: CLOSED DUPLICATE of bug 2531299
Alias: None
Product: Fedora
Classification: Fedora
Component: smartmontools
Version: 44
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:239bff42b63610c8a00ec1fb082...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-28 12:06 UTC by Wille Salminen
Modified: 2026-10-08 17:14 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-10-08 17:14:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.96 KB, text/plain)
2026-09-28 12:06 UTC, Wille Salminen
no flags Details
File: os_info (699 bytes, text/plain)
2026-09-28 12:06 UTC, Wille Salminen
no flags Details

Description Wille Salminen 2026-09-28 12:06:49 UTC
Description of problem:
SELinux is preventing runuser from 'write' accesses on the sock_file org.gnome.DisplayManager.

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

If you believe that runuser 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 'runuser' --raw | audit2allow -M my-runuser
# semodule -X 300 -i my-runuser.pp

Additional Information:
Source Context                system_u:system_r:smartdwarn_t:s0
Target Context                system_u:object_r:xdm_var_run_t:s0
Target Objects                org.gnome.DisplayManager [ sock_file ]
Source                        runuser
Source Path                   runuser
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-44.10-1.fc44.noarch
Local Policy RPM              smartmontools-selinux-7.5-9.fc44.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 7.2.7-200.fc44.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Mon Sep 21 18:25:57 UTC 2026
                              x86_64
Alert Count                   52
First Seen                    2026-09-25 12:02:43 EEST
Last Seen                     2026-09-28 14:02:01 EEST
Local ID                      0af17c57-8dd0-42e4-aead-7bff5eb2c227

Raw Audit Messages
type=AVC msg=audit(1790593321.599:483): avc:  denied  { write } for  pid=34762 comm="runuser" name="org.gnome.DisplayManager" dev="tmpfs" ino=5413 scontext=system_u:system_r:smartdwarn_t:s0 tcontext=system_u:object_r:xdm_var_run_t:s0 tclass=sock_file permissive=0


Hash: runuser,smartdwarn_t,xdm_var_run_t,sock_file,write

Version-Release number of selected component:
selinux-policy-targeted-44.10-1.fc44.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing runuser from 'write' accesses on the sock_file org.gnome.DisplayManager.
package:        selinux-policy-targeted-44.10-1.fc44.noarch
component:      smartmontools
hashmarkername: setroubleshoot
type:           libreport
kernel:         7.2.7-200.fc44.x86_64
component:      smartmontools



Potential duplicate: bug 2531299

Comment 1 Wille Salminen 2026-09-28 12:06:51 UTC
Created attachment 2158859 [details]
File: description

Comment 2 Wille Salminen 2026-09-28 12:06:52 UTC
Created attachment 2158860 [details]
File: os_info

Comment 3 Michal Hlavinka 2026-10-08 17:14:02 UTC

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


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