Bug 2278643

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: amaujipe <me>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 40CC: dwalsh, knazekovan, lvrabec, me, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:14a00455bbe4738a0577da3b8c88196fb9704efd1888357b83766e9719a4f7dc;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-03 09:40:56 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 amaujipe 2024-05-02 14:33:41 UTC
Description of problem:
El problema se presento al abri la aplicacion notepadqq, es la instale compilando el codigo descargado desde el repositorio. La aplicacion se cerro al abrir el buscador avanzado.
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   **************************

Si cree que de manera predeterminada se debería permitir a abrt-dump-journ el acceso connectto sobre  io.systemd.Home unix_stream_socket.     
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
permita el acceso temporalmente ejecutando:
# ausearch -c 'abrt-dump-journ' --raw | audit2allow -M mi-abrtdumpjourn
# semodule -X 300 -i mi-abrtdumpjourn.pp

Additional Information:
Source Context                system_u:system_r:abrt_dump_oops_t:s0
Target Context                system_u:system_r:init_t:s0
Target Objects                /run/systemd/userdb/io.systemd.Home [
                              unix_stream_socket ]
Source                        abrt-dump-journ
Source Path                   abrt-dump-journ
Port                          <Desconocido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-40.17-1.fc40.noarch
Local Policy RPM              selinux-policy-targeted-40.17-1.fc40.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.8.7-300.fc40.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Wed Apr 17 19:21:08 UTC 2024
                              x86_64
Alert Count                   10
First Seen                    2024-05-01 16:49:28 -05
Last Seen                     2024-05-02 09:10:21 -05
Local ID                      3225e360-e1dc-437b-8576-1e26c50ddd8b

Raw Audit Messages
type=AVC msg=audit(1714659021.800:561): avc:  denied  { connectto } for  pid=1359 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:init_t:s0 tclass=unix_stream_socket permissive=0


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

Version-Release number of selected component:
selinux-policy-targeted-40.17-1.fc40.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-40.17-1.fc40.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.8.7-300.fc40.x86_64
comment:        El problema se presento al abri la aplicacion notepadqq, es la instale compilando el codigo descargado desde el repositorio. La aplicacion se cerro al abrir el buscador avanzado.
component:      selinux-policy

Comment 1 amaujipe 2024-05-02 14:33:43 UTC
Created attachment 2030878 [details]
File: description

Comment 2 amaujipe 2024-05-02 14:33:45 UTC
Created attachment 2030879 [details]
File: os_info

Comment 3 Zdenek Pytela 2024-05-03 09:40:56 UTC

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