Bug 2531299

Summary: SELinux is preventing runuser from 'write' accesses on the sock_file org.gnome.DisplayManager.
Product: [Fedora] Fedora Reporter: sprintserwis <sprintserwis>
Component: smartmontoolsAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 43CC: mhlavink, sprintserwis, wille
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:239bff42b63610c8a00ec1fb082afe7b94f1ce6ac817b9d324f3ee11ebfa0f1a;VARIANT_ID=workstation;
Fixed In Version: smartmontools-7.5-10.fc44 smartmontools-7.5-10.fc43 smartmontools-7.5-11.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-10 01:09:26 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:
Attachments:
Description Flags
File: description
none
File: os_info none

Description sprintserwis 2026-09-10 06:35:22 UTC
Description of problem:
SELinux is preventing runuser from 'write' accesses on the sock_file org.gnome.DisplayManager.

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

Aby runuser powinno mieć domyślnie write dostęp do org.gnome.DisplayManager sock_file.
Then proszę to zgłosić jako błąd.
Można utworzyć lokalny moduł polityki, aby umożliwić ten dostęp.
Do
można tymczasowo zezwolić na ten dostęp wykonując polecenia:
# xzx
# 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                          <Nieznane>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-43.10-1.fc43.noarch
Local Policy RPM              smartmontools-selinux-7.5-9.fc43.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 7.1.5-101.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Tue Jul 28 14:24:13 UTC 2026
                              x86_64
Alert Count                   26
First Seen                    2026-09-10 08:28:21 CEST
Last Seen                     2026-09-10 08:28:27 CEST
Local ID                      1934e820-2960-4c9a-8330-acb8d32c9c66

Raw Audit Messages
type=AVC msg=audit(1789021707.88:652): avc:  denied  { write } for  pid=49545 comm="runuser" name="org.gnome.DisplayManager" dev="tmpfs" ino=3996 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-43.10-1.fc43.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-43.10-1.fc43.noarch
component:      smartmontools
hashmarkername: setroubleshoot
type:           libreport
kernel:         7.1.5-101.fc43.x86_64
component:      smartmontools

Comment 1 sprintserwis 2026-09-10 06:35:24 UTC
Created attachment 2157381 [details]
File: description

Comment 2 sprintserwis 2026-09-10 06:35:25 UTC
Created attachment 2157382 [details]
File: os_info

Comment 3 Michal Hlavinka 2026-10-08 17:14:02 UTC
*** Bug 2542445 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2026-10-08 20:49:51 UTC
FEDORA-2026-affb9f6543 (smartmontools-7.5-10.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-affb9f6543

Comment 5 Fedora Update System 2026-10-08 20:49:52 UTC
FEDORA-2026-c6c4c9a610 (smartmontools-7.5-10.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-c6c4c9a610

Comment 6 Fedora Update System 2026-10-09 02:09:46 UTC
FEDORA-2026-98c878d0d8 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-98c878d0d8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-98c878d0d8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-10-09 02:31:18 UTC
FEDORA-2026-affb9f6543 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-affb9f6543`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-affb9f6543

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-10-09 02:56:00 UTC
FEDORA-2026-c6c4c9a610 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-c6c4c9a610`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-c6c4c9a610

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2026-10-10 01:09:26 UTC
FEDORA-2026-affb9f6543 (smartmontools-7.5-10.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2026-10-10 01:28:04 UTC
FEDORA-2026-c6c4c9a610 (smartmontools-7.5-10.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2026-10-31 18:41:07 UTC
FEDORA-2026-b39460e276 (smartmontools-7.5-11.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.