Guest User

selinux

a guest
Apr 15th, 2025
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. SELinux is preventing (dnf4) from entrypoint access on the file /usr/bin/dnf5.
  2.  
  3. ***** Plugin catchall (100. confidence) suggests **************************
  4.  
  5. If you believe that (dnf4) should be allowed entrypoint access on the dnf5 file by default.
  6. Then you should report this as a bug.
  7. You can generate a local policy module to allow this access.
  8. Do
  9. allow this access for now by executing:
  10. # ausearch -c '(dnf4)' --raw | audit2allow -M my-dnf4
  11. # semodule -X 300 -i my-dnf4.pp
  12.  
  13. Additional Information:
  14. Source Context unconfined_u:unconfined_r:unconfined_t:s0-
  15. s0:c0.c1023
  16. Target Context system_u:object_r:rpm_exec_t:s0
  17. Target Objects /usr/bin/dnf5 [ file ]
  18. Source (dnf4)
  19. Source Path (dnf4)
  20. Port <Unknown>
  21. Host thinkpad
  22. Source RPM Packages
  23. Target RPM Packages dnf5-5.2.12.0-2.fc42.x86_64
  24. SELinux Policy RPM selinux-policy-targeted-41.36-1.fc42.noarch
  25. Local Policy RPM selinux-policy-targeted-41.36-1.fc42.noarch
  26. Selinux Enabled True
  27. Policy Type targeted
  28. Enforcing Mode Enforcing
  29. Host Name thinkpad
  30. Platform Linux thinkpad
  31. 6.14.2-300.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Thu
  32. Apr 10 21:50:55 UTC 2025 x86_64
  33. Alert Count 10
  34. First Seen 2025-01-30 11:23:28 EST
  35. Last Seen 2025-04-15 12:16:09 EDT
  36. Local ID e7f36bbb-2dee-4b9c-86e3-76e7994fa499
  37.  
  38. Raw Audit Messages
  39. type=AVC msg=audit(1744733769.238:318): avc: denied { entrypoint } for pid=12651 comm="(dnf)" path="/usr/bin/dnf5" dev="dm-0" ino=14053400 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:object_r:rpm_exec_t:s0 tclass=file permissive=0
  40.  
  41.  
  42. Hash: (dnf4),unconfined_t,rpm_exec_t,file,entrypoint
Advertisement
Add Comment
Please, Sign In to add comment