Bug 2305273

Summary: SELinux is preventing systemd-journal from using the 'signull' accesses on a process.
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dwalsh, lvrabec, mikhail.v.gavrilov, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f5e5b4ddcd1997398058e54cbb85f25ad65b28bd5aa3229d6f4406fea8462108;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-08-20 07:51:21 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:
Attachments:
Description Flags
File: description
none
File: os_info none

Description Mikhail 2024-08-16 05:48:13 UTC
Description of problem:
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 NetworkManager_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                system_u:system_r:NetworkManager_t:s0
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.rc3.20240815git1fb918967b56.33.fc42.x86_64+debug
                              #1 SMP PREEMPT_DYNAMIC Thu Aug 15 18:43:26 UTC
                              2024 x86_64
Alert Count                   12
First Seen                    2024-08-16 10:21:44 +05
Last Seen                     2024-08-16 10:46:08 +05
Local ID                      66ccea64-0cb4-4c79-8239-c4b170859075

Raw Audit Messages
type=AVC msg=audit(1723787168.268:413): avc:  denied  { signull } for  pid=523 comm="systemd-journal" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:NetworkManager_t:s0 tclass=process permissive=1


Hash: systemd-journal,kernel_t,NetworkManager_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.rc3.20240815git1fb918967b56.33.fc42.x86_64+debug
component:      selinux-policy

Comment 1 Mikhail 2024-08-16 05:48:16 UTC
Created attachment 2044281 [details]
File: description

Comment 2 Mikhail 2024-08-16 05:48:17 UTC
Created attachment 2044282 [details]
File: os_info

Comment 3 Ondrej Mosnáček 2024-08-20 07:51:21 UTC

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