Bug 2232247 - SELinux is preventing sss_cache from 'read' accesses on the fifo_file fifo_file.
Summary: SELinux is preventing sss_cache from 'read' accesses on the fifo_file fifo_file.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3e475a6e7bc9a55a9afe01adc0b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-15 22:49 UTC by Geovanni B. R.
Modified: 2023-08-16 06:16 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 06:16:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.93 KB, text/plain)
2023-08-15 22:49 UTC, Geovanni B. R.
no flags Details
File: os_info (690 bytes, text/plain)
2023-08-15 22:49 UTC, Geovanni B. R.
no flags Details

Description Geovanni B. R. 2023-08-15 22:49:21 UTC
Description of problem:
SELinux is preventing sss_cache from 'read' accesses on the fifo_file fifo_file.

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

Si cree que de manera predeterminada se debería permitir a sss_cache el acceso read sobre  fifo_file fifo_file.     
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 'sss_cache' --raw | audit2allow -M mi-ssscache
# semodule -X 300 -i mi-ssscache.pp

Additional Information:
Source Context                system_u:system_r:sssd_t:s0
Target Context                system_u:system_r:accountsd_t:s0
Target Objects                fifo_file [ fifo_file ]
Source                        sss_cache
Source Path                   sss_cache
Port                          <Desconocido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.8-2.fc38.noarch
Local Policy RPM              selinux-policy-targeted-38.8-2.fc38.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.2.9-300.fc38.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Mar 30 22:32:58 UTC 2023
                              x86_64
Alert Count                   2
First Seen                    2023-08-15 18:29:09 CDT
Last Seen                     2023-08-15 18:29:09 CDT
Local ID                      cd028d9c-7983-471e-9b41-10ebf2f5502b

Raw Audit Messages
type=AVC msg=audit(1692138549.863:686): avc:  denied  { read } for  pid=3210 comm="sss_cache" path="pipe:[36002]" dev="pipefs" ino=36002 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:system_r:accountsd_t:s0 tclass=fifo_file permissive=0


Hash: sss_cache,sssd_t,accountsd_t,fifo_file,read

Version-Release number of selected component:
selinux-policy-targeted-38.8-2.fc38.noarch

Additional info:
reporter:       libreport-2.17.9
reason:         SELinux is preventing sss_cache from 'read' accesses on the fifo_file fifo_file.
package:        selinux-policy-targeted-38.8-2.fc38.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.2.9-300.fc38.x86_64
component:      selinux-policy

Comment 1 Geovanni B. R. 2023-08-15 22:49:24 UTC
Created attachment 1983458 [details]
File: description

Comment 2 Geovanni B. R. 2023-08-15 22:49:26 UTC
Created attachment 1983459 [details]
File: os_info


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