Bug 2421016
| Summary: | SELinux is preventing /usr/lib/systemd/systemd-executor from 'entrypoint' accesses on the file /usr/bin/dnf5. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mr. Beedell, Roke Julian Lockhart (RJLB) <8ru2u4gz> | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 43 | CC: | 8ru2u4gz, dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | abrt_hash:c40897d54ce1ae4390dd5ea2e86951cb4a02b6350885eb00cbb15e34b02bf845;VARIANT_ID=kde; | ||||||||
| Fixed In Version: | Doc Type: | --- | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 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: |
|
||||||||
Created attachment 2118295 [details]
File: description
Created attachment 2118296 [details]
File: os_info
|
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