Bug 2393022
| Summary: | SELinux is preventing (dnf) from 'entrypoint' accesses on the file /usr/bin/dnf5. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Luya Tshimbalanga <luya_tfz> | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 42 | CC: | dwalsh, jjanasek, luya_tfz, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:023b666d63a82c2f531bcce882e46aa5f97068ce74731d02de57fb13ff4d8a23;VARIANT_ID=designsuite; | ||||||||
| Fixed In Version: | Doc Type: | --- | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-12-19 08:33:58 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: |
|
||||||||
Created attachment 2105699 [details]
File: description
Created attachment 2105700 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 2359828 *** |
Description of problem: Run "run0 dnf history list" command SELinux is preventing (dnf) from 'entrypoint' accesses on the file /usr/bin/dnf5. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that (dnf) 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 '(dnf)' --raw | audit2allow -M my-dnf # semodule -X 300 -i my-dnf.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 (dnf) Source Path (dnf) Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages dnf5-5.2.16.0-1.fc42.x86_64 SELinux Policy RPM selinux-policy-targeted-42.7-1.fc42.noarch Local Policy RPM selinux-policy-targeted-42.7-1.fc42.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.16.3-200.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Aug 23 17:02:17 UTC 2025 x86_64 Alert Count 1 First Seen 2025-09-03 19:01:59 PDT Last Seen 2025-09-03 19:01:59 PDT Local ID 3df1aac6-49c2-4619-84c3-68bdf4f4889f Raw Audit Messages type=AVC msg=audit(1756951319.466:354): avc: denied { entrypoint } for pid=6919 comm="(dnf)" path="/usr/bin/dnf5" dev="nvme0n1p4" ino=111998364 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:object_r:rpm_exec_t:s0 tclass=file permissive=0 Hash: (dnf),unconfined_t,rpm_exec_t,file,entrypoint Version-Release number of selected component: selinux-policy-targeted-42.7-1.fc42.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing (dnf) from 'entrypoint' accesses on the file /usr/bin/dnf5. package: selinux-policy-targeted-42.7-1.fc42.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.16.3-200.fc42.x86_64 comment: Run "run0 dnf history list" command component: selinux-policy