Bug 2392857 - SELinux is preventing (dnf) from 'entrypoint' accesses on the soubor /usr/bin/dnf5.
Summary: SELinux is preventing (dnf) from 'entrypoint' accesses on the soubor /usr/bin...
Keywords:
Status: CLOSED DUPLICATE of bug 2359828
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:023b666d63a82c2f531bcce882e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-03 09:59 UTC by Vít Ondruch
Modified: 2025-12-19 08:34 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-12-19 08:34:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.02 KB, text/plain)
2025-09-03 09:59 UTC, Vít Ondruch
no flags Details
File: os_info (740 bytes, text/plain)
2025-09-03 09:59 UTC, Vít Ondruch
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy issues 2500 0 None open `run0` is almost unusable. 2025-09-03 10:01:22 UTC
Red Hat Bugzilla 2375519 0 unspecified CLOSED SELinux is preventing (dnf) from 'entrypoint' accesses on the file /usr/bin/dnf5. 2025-12-17 10:54:47 UTC

Description Vít Ondruch 2025-09-03 09:59:06 UTC
Description of problem:
Trying to execute `$ run0 dnf`
SELinux is preventing (dnf) from 'entrypoint' accesses on the soubor /usr/bin/dnf5.

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

Pokud jste přesvědčeni, že má (dnf) mít ve výchozím stavu přístup entrypoint na dnf5 file.
Then měli byste tento problém nahlásit jako chybu.
Abyste přístup povolili, můžete vygenerovat lokální modul pravidel.
Do
prozatím tento přístup povolíte příkazy:
# 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                          <Neznámé>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           dnf5-5.2.16.0-3.fc44.x86_64
SELinux Policy RPM            selinux-policy-targeted-42.7-1.fc44.noarch
Local Policy RPM              selinux-policy-targeted-42.7-1.fc44.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.16.4-200.fc42.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Aug 28 19:47:10 UTC 2025
                              x86_64
Alert Count                   1
First Seen                    2025-09-03 11:57:51 CEST
Last Seen                     2025-09-03 11:57:51 CEST
Local ID                      80fc894a-f11c-4cea-b178-97417bb69075

Raw Audit Messages
type=AVC msg=audit(1756893471.231:1137): avc:  denied  { entrypoint } for  pid=98141 comm="(dnf)" path="/usr/bin/dnf5" dev="dm-0" ino=102258527 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.fc44.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing (dnf) from 'entrypoint' accesses on the soubor /usr/bin/dnf5.
package:        selinux-policy-targeted-42.7-1.fc44.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.16.4-200.fc42.x86_64
comment:        Trying to execute `$ run0 dnf`
component:      selinux-policy

Comment 1 Vít Ondruch 2025-09-03 09:59:09 UTC
Created attachment 2105648 [details]
File: description

Comment 2 Vít Ondruch 2025-09-03 09:59:11 UTC
Created attachment 2105649 [details]
File: os_info

Comment 3 jjanasek 2025-12-19 08:34:11 UTC

*** This bug has been marked as a duplicate of bug 2359828 ***


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