Bug 2305271

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:28b0d35bd376df8ef0a688a641a69624fd74fed0ec88f05f9909ac7bdb728fb8;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:12 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:47:06 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 pcscd_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:pcscd_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                   4
First Seen                    2024-08-16 10:21:50 +05
Last Seen                     2024-08-16 10:22:07 +05
Local ID                      9c6de2dc-f638-4c38-b3c4-6574c17abf84

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


Hash: systemd-journal,kernel_t,pcscd_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:47:09 UTC
Created attachment 2044279 [details]
File: description

Comment 2 Mikhail 2024-08-16 05:47:10 UTC
Created attachment 2044280 [details]
File: os_info

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

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