Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Running (run0 dnf) is impossible, and leads to this SELinux error SELinux is preventing (dnf) from 'entrypoint' accesses on the arquivo /usr/bin/dnf5. ***** Plugin catchall (100. confidence) suggests ************************** Se você acredita nisso (dnf) deve ser permitido entrypoint acesso no dnf5 file por padrão. Then você deve informar que este é um erro. Você pode gerar um módulo de política local para permitir este acesso. Do permitir este acesso por agora executando: # 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 <Desconhecido> Host (removed) Source RPM Packages Target RPM Packages dnf5-5.2.16.0-1.fc42.x86_64 SELinux Policy RPM selinux-policy-targeted-42.13-1.fc42.noarch Local Policy RPM selinux-policy-targeted-42.13-1.fc42.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.17.4-200.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Oct 19 18:47:49 UTC 2025 x86_64 Alert Count 2 First Seen 2025-10-23 17:39:02 -03 Last Seen 2025-10-23 17:39:07 -03 Local ID 392e849c-11f0-4cf8-82c0-787d1314743a Raw Audit Messages type=AVC msg=audit(1761251947.327:363): avc: denied { entrypoint } for pid=7873 comm="(dnf)" path="/usr/bin/dnf5" dev="dm-0" ino=1005722 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.13-1.fc42.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing (dnf) from 'entrypoint' accesses on the arquivo /usr/bin/dnf5. package: selinux-policy-targeted-42.13-1.fc42.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.17.4-200.fc42.x86_64 comment: Running (run0 dnf) is impossible, and leads to this SELinux error component: selinux-policy
Created attachment 2110652 [details] File: description
Created attachment 2110653 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2359828 ***