Bug 1763877 - SELinux is preventing restorecon from 'read' accesses on the fifo_file fifo_file.
Summary: SELinux is preventing restorecon from 'read' accesses on the fifo_file fifo_f...
Keywords:
Status: CLOSED DUPLICATE of bug 1754219
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 31
Hardware: x86_64
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f6977d1eed5cd1866c54806a1e9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-21 19:44 UTC by Dmitriy Braginets
Modified: 2019-10-23 11:40 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-10-23 11:40:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dmitriy Braginets 2019-10-21 19:44:26 UTC
Description of problem:
It's happen every boot
SELinux is preventing restorecon from 'read' accesses on the fifo_file fifo_file.

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

If you believe that restorecon should be allowed read access on the fifo_file fifo_file 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 'restorecon' --raw | audit2allow -M my-restorecon
# semodule -X 300 -i my-restorecon.pp

Additional Information:
Source Context                system_u:system_r:setfiles_t:s0
Target Context                system_u:system_r:unconfined_service_t:s0
Target Objects                fifo_file [ fifo_file ]
Source                        restorecon
Source Path                   restorecon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.4-37.fc31.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.3.5-300.fc31.x86_64 #1 SMP Tue
                              Oct 8 13:07:42 UTC 2019 x86_64 x86_64
Alert Count                   5
First Seen                    2019-10-21 22:39:01 EEST
Last Seen                     2019-10-21 22:39:01 EEST
Local ID                      e27cb36b-46d8-43b6-9243-1c7f244282c6

Raw Audit Messages
type=AVC msg=audit(1571686741.379:391): avc:  denied  { read } for  pid=5088 comm="restorecon" path="pipe:[123347]" dev="pipefs" ino=123347 scontext=system_u:system_r:setfiles_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=fifo_file permissive=0


Hash: restorecon,setfiles_t,unconfined_service_t,fifo_file,read

Version-Release number of selected component:
selinux-policy-3.14.4-37.fc31.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.11.1
hashmarkername: setroubleshoot
kernel:         5.3.5-300.fc31.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2019-10-22 19:17:45 UTC
Hi Dmitriy, 

Do you see also some functionality issues or just see the SELinux denial? 

Thanks,
Lukas.

Comment 2 Dmitriy Braginets 2019-10-23 06:25:34 UTC
(In reply to Lukas Vrabec from comment #1)
> Hi Dmitriy, 
> 
> Do you see also some functionality issues or just see the SELinux denial? 
> 
> Thanks,
> Lukas.

Hi!

I didn't see any functionality issues. Only SELinux alert.

Comment 3 Lukas Vrabec 2019-10-23 11:40:46 UTC

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


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