Bug 2317722 - SELinux is preventing abrt-dump-journ from 'connectto' accesses on the unix_stream_socket /run/systemd/userdb/io.systemd.Home.
Summary: SELinux is preventing abrt-dump-journ from 'connectto' accesses on the unix_s...
Keywords:
Status: CLOSED DUPLICATE of bug 2315813
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 41
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:10ffeaa1984024ed420cffcca94...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-10 00:13 UTC by Renich Bon Ciric
Modified: 2024-10-10 07:22 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-10-10 07:22:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.81 KB, text/plain)
2024-10-10 00:14 UTC, Renich Bon Ciric
no flags Details
File: os_info (756 bytes, text/plain)
2024-10-10 00:14 UTC, Renich Bon Ciric
no flags Details

Description Renich Bon Ciric 2024-10-10 00:13:58 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           abrt-addon-ccpp-2.17.6-2.fc41.x86_64
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-41.20-1.fc41.noarch
Local Policy RPM              selinux-policy-targeted-41.20-1.fc41.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.11.2-300.fc41.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Fri Oct 4 16:44:08 UTC 2024 x86_64
Alert Count                   10
First Seen                    2024-10-07 20:48:29 CST
Last Seen                     2024-10-09 16:22:23 CST
Local ID                      92eb1d47-8231-4dc0-8937-e0a3010e6e12

Raw Audit Messages
type=AVC msg=audit(1728512543.416:1754): avc:  denied  { connectto } for  pid=1427 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


type=SYSCALL msg=audit(1728512543.416:1754): arch=x86_64 syscall=connect success=no exit=EACCES a0=12 a1=7ffce7e3adf0 a2=26 a3=555bfbaf9b70 items=1 ppid=1 pid=1427 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=abrt-dump-journ exe=/usr/bin/abrt-dump-journal-core subj=system_u:system_r:abrt_dump_oops_t:s0 key=(null)

type=CWD msg=audit(1728512543.416:1754): cwd=/

type=PATH msg=audit(1728512543.416:1754): item=0 name=/run/systemd/userdb/io.systemd.Home inode=3687 dev=00:1b mode=0140666 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:systemd_userdbd_runtime_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=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.20-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.20-1.fc41.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.11.2-300.fc41.x86_64
component:      selinux-policy

Comment 1 Renich Bon Ciric 2024-10-10 00:14:00 UTC
Created attachment 2051310 [details]
File: description

Comment 2 Renich Bon Ciric 2024-10-10 00:14:02 UTC
Created attachment 2051311 [details]
File: os_info

Comment 3 Zdenek Pytela 2024-10-10 07:22:53 UTC

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


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