Bug 2424625

Summary: SELinux is preventing (urnalctl) from 'entrypoint' accesses on the file /usr/bin/journalctl.
Product: [Fedora] Fedora Reporter: Mr Beedell, Roke Julian Lockhart <8ru2u4gz>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 43CC: 8ru2u4gz, dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:fa5327c14a65d536cdddb6ef6a7fc29a53e96ba15f63baf88fb365cd159f1c61;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:
Description Flags
File: description
none
File: os_info none

Description Mr Beedell, Roke Julian Lockhart 2025-12-23 17:05:32 UTC
Description of problem:
I invoked `run0 journalctl -t systemd -g failed | grep -i polkit`, per https://discussion.fedoraproject.org/t/run0-return-s-ed-failed-to-start-transient-service-unit-access-denied/177866/17.
SELinux is preventing (urnalctl) from 'entrypoint' accesses on the file /usr/bin/journalctl.

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

If you believe that (urnalctl) should be allowed entrypoint access on the journalctl 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 '(urnalctl)' --raw | audit2allow -M my-urnalctl
# semodule -X 300 -i my-urnalctl.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:unconfined_t:s0-
                              s0:c0.c1023
Target Context                system_u:object_r:journalctl_exec_t:s0
Target Objects                /usr/bin/journalctl [ file ]
Source                        (urnalctl)
Source Path                   (urnalctl)
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           systemd-258.3-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.12-300.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Sat Dec 13 05:06:24 UTC 2025
                              x86_64
Alert Count                   1
First Seen                    2025-12-23 17:02:55 GMT
Last Seen                     2025-12-23 17:02:55 GMT
Local ID                      a85b4f2d-c69f-40d0-9847-0b5f3c471d86

Raw Audit Messages
type=AVC msg=audit(1766509375.111:298): avc:  denied  { entrypoint } for  pid=4823 comm="(urnalctl)" path="/usr/bin/journalctl" dev="dm-0" ino=8354576 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:object_r:journalctl_exec_t:s0 tclass=file permissive=0


Hash: (urnalctl),unconfined_t,journalctl_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 (urnalctl) from 'entrypoint' accesses on the file /usr/bin/journalctl.
package:        selinux-policy-targeted-42.19-1.fc43.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.17.12-300.fc43.x86_64
event_log:      2025-12-23-17:04:57> Looking for similar problems in bugzilla
comment:        I invoked `run0 journalctl -t systemd -g failed | grep -i polkit`, per https://discussion.fedoraproject.org/t/run0-return-s-ed-failed-to-start-transient-service-unit-access-denied/177866/17.
component:      selinux-policy

Comment 1 Mr Beedell, Roke Julian Lockhart 2025-12-23 17:05:34 UTC
Created attachment 2119864 [details]
File: description

Comment 2 Mr Beedell, Roke Julian Lockhart 2025-12-23 17:05:36 UTC
Created attachment 2119865 [details]
File: os_info

Comment 3 Mr Beedell, Roke Julian Lockhart 2025-12-23 17:09:57 UTC
Appears to relate to https://bugzilla.redhat.com/show_bug.cgi?id=2424355#c0.