Bug 2424625 - SELinux is preventing (urnalctl) from 'entrypoint' accesses on the file /usr/bin/journalctl.
Summary: SELinux is preventing (urnalctl) from 'entrypoint' accesses on the file /usr/...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 43
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:fa5327c14a65d536cdddb6ef6a7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-23 17:05 UTC by Mr Beedell, Roke Julian Lockhart
Modified: 2025-12-23 17:09 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.06 KB, text/plain)
2025-12-23 17:05 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details
File: os_info (712 bytes, text/plain)
2025-12-23 17:05 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2424355 0 unspecified NEW SELinux is preventing /usr/bin/freshclam from 'entrypoint' accesses on the file /usr/bin/freshclam. 2025-12-23 17:09:56 UTC
Red Hat Bugzilla 2424625 0 unspecified NEW SELinux is preventing (urnalctl) from 'entrypoint' accesses on the file /usr/bin/journalctl. 2025-12-23 17:09:56 UTC

Internal Links: 2424625

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.


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