Bug 2315796

Summary: SELinux is preventing abrt-dump-journ from 'connectto' accesses on the unix_stream_socket /run/systemd/userdb/io.systemd.Home.
Product: [Fedora] Fedora Reporter: Renich Bon Ciric <renich>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 41CC: dwalsh, lvrabec, mmalik, omosnacek, pkoncity, renich, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:10ffeaa1984024ed420cffcca94e6abe971535acff30266304e76a0d9e302ec4;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-03 14:22:17 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 Renich Bon Ciric 2024-09-30 22:36:52 UTC
Description of problem:
SELinux is preventing abrt-dump-journ from 'connectto' accesses on the unix_stream_socket /run/systemd/userdb/io.systemd.Home.

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

If you believe that abrt-dump-journ should be allowed connectto access on the io.systemd.Home unix_stream_socket 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 'abrt-dump-journ' --raw | audit2allow -M my-abrtdumpjourn
# semodule -X 300 -i my-abrtdumpjourn.pp

Additional Information:
Source Context                system_u:system_r:abrt_dump_oops_t:s0
Target Context                system_u:system_r:systemd_homed_t:s0
Target Objects                /run/systemd/userdb/io.systemd.Home [
                              unix_stream_socket ]
Source                        abrt-dump-journ
Source Path                   abrt-dump-journ
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-41.19-1.fc41.noarch
Local Policy RPM              selinux-policy-targeted-41.19-1.fc41.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.11.0-63.fc41.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Sun Sep 15 17:48:54 UTC 2024
                              x86_64
Alert Count                   28
First Seen                    2024-09-29 04:16:48 CST
Last Seen                     2024-09-30 15:57:03 CST
Local ID                      f9bc3627-222b-4cf7-ad1b-4e2e2c3f5a21

Raw Audit Messages
type=AVC msg=audit(1727733423.146:670): avc:  denied  { connectto } for  pid=1374 comm="abrt-dump-journ" path="/run/systemd/userdb/io.systemd.Home" scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:system_r:systemd_homed_t:s0 tclass=unix_stream_socket permissive=0


Hash: abrt-dump-journ,abrt_dump_oops_t,systemd_homed_t,unix_stream_socket,connectto

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

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing abrt-dump-journ from 'connectto' accesses on the unix_stream_socket /run/systemd/userdb/io.systemd.Home.
package:        selinux-policy-targeted-41.19-1.fc41.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.11.0-63.fc41.x86_64
component:      selinux-policy

Comment 1 Renich Bon Ciric 2024-09-30 22:36:55 UTC
Created attachment 2049674 [details]
File: description

Comment 2 Renich Bon Ciric 2024-09-30 22:36:57 UTC
Created attachment 2049675 [details]
File: os_info

Comment 3 Zdenek Pytela 2024-10-03 14:22:17 UTC

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