Bug 2305940

Summary: SELinux is preventing systemd-journal from using the 'signull' accesses on a process.
Product: [Fedora] Fedora Reporter: Ian Laurie <nixuser>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 41CC: acaringi, adscvr, airlied, alciregi, bskeggs, daan.j.demeyer, dtardon, dwalsh, fedoraproject, hdegoede, hpa, josef, kernel-maint, linville, lnykryn, lvrabec, masami256, mchehab, mmalik, msekleta, nixuser, omosnacek, pkoncity, ptalbert, ryncsn, steved, suraj.ghimire7, systemd-maint, vmojzis, yuwatana, zbyszek, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:d7ea5aed7b88f4b23964cf34f5ebe947889ad9064ba7467479badb7a9292c31b;VARIANT_ID=xfce;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-12-16 17:08:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2305270    
Bug Blocks:    
Attachments:
Description Flags
File: description
none
File: os_info none

Description Ian Laurie 2024-08-20 02:32:14 UTC
Description of problem:
Logged into Xfce
SELinux is preventing systemd-journal from using the 'signull' accesses on a process.

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

If you believe that systemd-journal should be allowed signull access on processes labeled unconfined_t 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 'systemd-journal' --raw | audit2allow -M my-systemdjournal
# semodule -X 300 -i my-systemdjournal.pp

Additional Information:
Source Context                system_u:system_r:kernel_t:s0
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-
                              s0:c0.c1023
Target Objects                Unknown [ process ]
Source                        systemd-journal
Source Path                   systemd-journal
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-41.14-1.fc41.noarch
Local Policy RPM              selinux-policy-targeted-41.14-1.fc41.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 6.11.0-0.rc4.37.fc41.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Mon Aug 19 22:55:18 UTC 2024
                              x86_64
Alert Count                   3
First Seen                    2024-08-20 10:37:24 AEST
Last Seen                     2024-08-20 11:07:22 AEST
Local ID                      bf3665a2-b0fa-4623-ac61-e2b320ce440d

Raw Audit Messages
type=AVC msg=audit(1724116042.275:269): avc:  denied  { signull } for  pid=261 comm="systemd-journal" scontext=system_u:system_r:kernel_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process permissive=1


Hash: systemd-journal,kernel_t,unconfined_t,process,signull

Version-Release number of selected component:
selinux-policy-targeted-41.14-1.fc41.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing systemd-journal from using the 'signull' accesses on a process.
package:        selinux-policy-targeted-41.14-1.fc41.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.11.0-0.rc4.37.fc41.x86_64
comment:        Logged into Xfce
component:      selinux-policy

Comment 1 Ian Laurie 2024-08-20 02:32:17 UTC
Created attachment 2044427 [details]
File: description

Comment 2 Ian Laurie 2024-08-20 02:32:18 UTC
Created attachment 2044428 [details]
File: os_info

Comment 3 Ondrej Mosnáček 2024-08-20 07:57:25 UTC
This is an F41 instance of bug 2305270.

Comment 4 Adam Williamson 2025-12-02 01:15:52 UTC
This message is a reminder that Fedora Linux 41 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 41 on 2025-12-15.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '41'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 41 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 5 Samyak Jain (RedHat) 2025-12-16 17:08:52 UTC
Fedora Linux 41 entered end-of-life (EOL) status on 2025-12-15.

Fedora Linux 41 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.