Bug 2421016 - SELinux is preventing /usr/lib/systemd/systemd-executor from 'entrypoint' accesses on the file /usr/bin/dnf5.
Summary: SELinux is preventing /usr/lib/systemd/systemd-executor from 'entrypoint' acc...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 43
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:c40897d54ce1ae4390dd5ea2e86...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-10 17:27 UTC by Mr. Beedell, Roke Julian Lockhart (RJLB)
Modified: 2025-12-11 20:36 UTC (History)
8 users (show)

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


Attachments (Terms of Use)
File: description (2.67 KB, text/plain)
2025-12-10 17:27 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
File: os_info (712 bytes, text/plain)
2025-12-10 17:27 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2421016 0 unspecified NEW SELinux is preventing /usr/lib/systemd/systemd-executor from 'entrypoint' accesses on the file /usr/bin/dnf5. 2025-12-11 20:36:26 UTC
Red Hat Bugzilla 2421582 0 unspecified NEW SELinux is preventing /usr/bin/gpasswd from 'entrypoint' accesses on the file /usr/bin/gpasswd. 2025-12-11 20:36:26 UTC

Internal Links: 2421016 2421582

Description Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-12-10 17:27:32 UTC
Description of problem:
I invoked `run0 dnf5 install plymouth-kcm`.
SELinux is preventing /usr/lib/systemd/systemd-executor from 'entrypoint' accesses on the file /usr/bin/dnf5.

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

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

Additional Information:
Source Context                unconfined_u:unconfined_r:unconfined_t:s0-
                              s0:c0.c1023
Target Context                system_u:object_r:rpm_exec_t:s0
Target Objects                /usr/bin/dnf5 [ file ]
Source                        (dnf5)
Source Path                   /usr/lib/systemd/systemd-executor
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           systemd-258.2-1.fc43.x86_64
Target RPM Packages           dnf5-5.2.17.0-2.fc43.x86_64
SELinux Policy RPM            selinux-policy-targeted-42.19-1.fc43.noarch
Local Policy RPM              selinux-policy-targeted-42.19-1.fc43.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.17.10-300.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Mon Dec 1 14:59:36 UTC 2025 x86_64
Alert Count                   1
First Seen                    2025-12-10 17:27:02 GMT
Last Seen                     2025-12-10 17:27:02 GMT
Local ID                      d6de73df-83d3-42de-8697-d9828f9271e3

Raw Audit Messages
type=AVC msg=audit(1765387622.955:568): avc:  denied  { entrypoint } for  pid=68601 comm="(dnf5)" path="/usr/bin/dnf5" dev="nvme1n1p4" ino=9641717 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:object_r:rpm_exec_t:s0 tclass=file permissive=0


type=SYSCALL msg=audit(1765387622.955:568): arch=x86_64 syscall=execve success=no exit=EACCES a0=55d5ee8e66e0 a1=55d5ee8e5f60 a2=55d5ee901000 a3=0 items=1 ppid=1 pid=68601 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts3 ses=5 comm=(dnf5) exe=/usr/lib/systemd/systemd-executor subj=system_u:system_r:init_t:s0 key=(null)

type=CWD msg=audit(1765387622.955:568): cwd=/home/RokeJulianLockhart

type=PATH msg=audit(1765387622.955:568): item=0 name=/usr/bin/dnf5 inode=9641717 dev=00:22 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:rpm_exec_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0

Hash: (dnf5),unconfined_t,rpm_exec_t,file,entrypoint

Version-Release number of selected component:
selinux-policy-targeted-42.19-1.fc43.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing /usr/lib/systemd/systemd-executor from 'entrypoint' accesses on the file /usr/bin/dnf5.
package:        selinux-policy-targeted-42.19-1.fc43.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.17.10-300.fc43.x86_64
event_log:      2025-12-10-17:27:13> Looking for similar problems in bugzilla
comment:        I invoked `run0 dnf5 install plymouth-kcm`.
component:      selinux-policy

Comment 1 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-12-10 17:27:34 UTC
Created attachment 2118295 [details]
File: description

Comment 2 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-12-10 17:27:36 UTC
Created attachment 2118296 [details]
File: os_info

Comment 3 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-12-11 20:36:26 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=2421582#c0.


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