Bug 2478314 - SELinux is preventing (smartctl) from 'entrypoint' accesses on the file /usr/bin/smartctl.
Summary: SELinux is preventing (smartctl) from 'entrypoint' accesses on the file /usr/...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 44
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6a7a2b004fb5df91f333ac405d7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-17 18:49 UTC by Mr. Beedell, Roke Julian Lockhart (RJLB)
Modified: 2026-05-17 18:50 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (712 bytes, text/plain)
2026-05-17 18:49 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
File: description (2.04 KB, text/plain)
2026-05-17 18:49 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details

Description Mr. Beedell, Roke Julian Lockhart (RJLB) 2026-05-17 18:49:19 UTC
Description of problem:
`run0 smartctl --health /dev/nvme1n1p4` displayed no output (whereas `sudo` does). 
SELinux is preventing (smartctl) from 'entrypoint' accesses on the file /usr/bin/smartctl.

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

If you believe that (smartctl) should be allowed entrypoint access on the smartctl 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 '(smartctl)' --raw | audit2allow -M my-smartctl
# semodule -X 300 -i my-smartctl.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:unconfined_t:s0-
                              s0:c0.c1023
Target Context                system_u:object_r:fsadm_exec_t:s0
Target Objects                /usr/bin/smartctl [ file ]
Source                        (smartctl)
Source Path                   (smartctl)
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           smartmontools-7.5-6.fc44.x86_64
SELinux Policy RPM            selinux-policy-targeted-43.3-1.fc44.noarch
Local Policy RPM              selinux-policy-targeted-43.3-1.fc44.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.19.10-300.fc44.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Wed Mar 25 18:23:49 UTC 2026
                              x86_64
Alert Count                   1
First Seen                    2026-05-17 18:46:17 UTC
Last Seen                     2026-05-17 18:46:17 UTC
Local ID                      a64bae9e-4542-4743-902d-7cf05adc4f8d

Raw Audit Messages
type=AVC msg=audit(1779043577.134:344): avc:  denied  { entrypoint } for  pid=19183 comm="(smartctl)" path="/usr/bin/smartctl" dev="overlay" ino=12275275 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:object_r:fsadm_exec_t:s0 tclass=file permissive=0


Hash: (smartctl),unconfined_t,fsadm_exec_t,file,entrypoint

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

Additional info:
reporter:       libreport-2.17.15
comment:        `run0 smartctl --health /dev/nvme1n1p4` displayed no output (whereas `sudo` does). 
event_log:      2026-05-17-18:46:41> Looking for similar problems in bugzilla
kernel:         6.19.10-300.fc44.x86_64
type:           libreport
hashmarkername: setroubleshoot
component:      selinux-policy
package:        selinux-policy-targeted-43.3-1.fc44.noarch
reason:         SELinux is preventing (smartctl) from 'entrypoint' accesses on the file /usr/bin/smartctl.
component:      selinux-policy

Comment 1 Mr. Beedell, Roke Julian Lockhart (RJLB) 2026-05-17 18:49:21 UTC
Created attachment 2141643 [details]
File: os_info

Comment 2 Mr. Beedell, Roke Julian Lockhart (RJLB) 2026-05-17 18:49:23 UTC
Created attachment 2141644 [details]
File: description

Comment 3 Mr. Beedell, Roke Julian Lockhart (RJLB) 2026-05-17 18:50:57 UTC
I performed this due to what https://discussion.fedoraproject.org/t/after-subnautica-2-boot-looped-kwin-abrt-corrupted-my-os-installation-s-b-tree-fs/191627 describes, if at all relevant.


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