Bug 2531299 - 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 ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: smartmontools
Version: 43
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:239bff42b63610c8a00ec1fb082...
: 2542445 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-10 06:35 UTC by sprintserwis
Modified: 2026-10-31 18:41 UTC (History)
3 users (show)

Fixed In Version: smartmontools-7.5-10.fc44 smartmontools-7.5-10.fc43 smartmontools-7.5-11.fc45
Clone Of:
Environment:
Last Closed: 2026-10-10 01:09:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.92 KB, text/plain)
2026-09-10 06:35 UTC, sprintserwis
no flags Details
File: os_info (699 bytes, text/plain)
2026-09-10 06:35 UTC, sprintserwis
no flags Details

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.


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