Bug 2305273 - SELinux is preventing systemd-journal from using the 'signull' accesses on a process.
Summary: SELinux is preventing systemd-journal from using the 'signull' accesses on a ...
Keywords:
Status: CLOSED DUPLICATE of bug 2305270
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f5e5b4ddcd1997398058e54cbb8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-16 05:48 UTC by Mikhail
Modified: 2024-08-20 07:51 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-08-20 07:51:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.00 KB, text/plain)
2024-08-16 05:48 UTC, Mikhail
no flags Details
File: os_info (770 bytes, text/plain)
2024-08-16 05:48 UTC, Mikhail
no flags Details

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 ***


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