Bug 2187865

Summary: SELinux is preventing false from 'read' accesses on the fifo_file fifo_file.
Product: [Fedora] Fedora Reporter: criollo <macevedo125>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: high    
Version: 38CC: dwalsh, lvrabec, macevedo125, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:9781a66f377bb4549f9ce51ac374170872afac4c1e2b3514627ed83c6dd1cc89;VARIANT_ID=xfce;
Fixed In Version: selinux-policy-38.12-1.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-28 02:36:38 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 criollo 2023-04-19 01:04:42 UTC
Description of problem:
SELinux is preventing false 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 false 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 'false' --raw | audit2allow -M mi-false
# semodule -X 300 -i mi-false.pp

Additional Information:
Source Context                system_u:system_r:kernel_generic_helper_t:s0
Target Context                system_u:system_r:kernel_t:s0
Target Objects                fifo_file [ fifo_file ]
Source                        false
Source Path                   false
Port                          <Desconocido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.10-1.fc38.noarch
Local Policy RPM              selinux-policy-targeted-38.10-1.fc38.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.2.11-300.fc38.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Apr 13 20:27:09 UTC 2023
                              x86_64
Alert Count                   4
First Seen                    2023-04-18 17:12:10 EDT
Last Seen                     2023-04-18 17:29:04 EDT
Local ID                      27c30894-d053-4995-a7aa-d3e7726071f7

Raw Audit Messages
type=AVC msg=audit(1681853344.145:494): avc:  denied  { read } for  pid=17972 comm="false" path="pipe:[84630]" dev="pipefs" ino=84630 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=fifo_file permissive=0


Hash: false,kernel_generic_helper_t,kernel_t,fifo_file,read

Version-Release number of selected component:
selinux-policy-targeted-38.10-1.fc38.noarch

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

Comment 1 criollo 2023-04-19 01:04:44 UTC
Created attachment 1958137 [details]
File: description

Comment 2 criollo 2023-04-19 01:04:46 UTC
Created attachment 1958138 [details]
File: os_info

Comment 3 Zdenek Pytela 2023-04-19 05:35:28 UTC
*** Bug 2187866 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2023-04-26 12:57:29 UTC
FEDORA-2023-21649bd3fe has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-21649bd3fe

Comment 5 Fedora Update System 2023-04-27 02:29:47 UTC
FEDORA-2023-21649bd3fe has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-21649bd3fe`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-21649bd3fe

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-04-28 02:36:38 UTC
FEDORA-2023-21649bd3fe has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.