Bug 1633725 - SELinux is preventing boltd from 'unlink' accesses on the fifo_file 2.guard.fifo.
Summary: SELinux is preventing boltd from 'unlink' accesses on the fifo_file 2.guard.f...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:769fe6256eea789327098500e2b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-27 15:03 UTC by Alessio
Modified: 2018-10-19 16:07 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.14.1-47.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-19 16:07:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alessio 2018-09-27 15:03:00 UTC
Description of problem:
After the latest dnf update with update-testing repo enabled
SELinux is preventing boltd from 'unlink' accesses on the fifo_file 2.guard.fifo.

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

If you believe that boltd should be allowed unlink access on the 2.guard.fifo 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 'boltd' --raw | audit2allow -M my-boltd
# semodule -X 300 -i my-boltd.pp

Additional Information:
Source Context                system_u:system_r:boltd_t:s0
Target Context                system_u:object_r:var_run_t:s0
Target Objects                2.guard.fifo [ fifo_file ]
Source                        boltd
Source Path                   boltd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.1-42.fc28.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.18.9-200.fc28.x86_64 #1 SMP Thu
                              Sep 20 02:43:23 UTC 2018 x86_64 x86_64
Alert Count                   1
First Seen                    2018-09-27 17:01:25 CEST
Last Seen                     2018-09-27 17:01:25 CEST
Local ID                      9a27295b-023c-4c00-b569-2f8897fa2228

Raw Audit Messages
type=AVC msg=audit(1538060485.686:287): avc:  denied  { unlink } for  pid=3416 comm="boltd" name="2.guard.fifo" dev="tmpfs" ino=62121 scontext=system_u:system_r:boltd_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=fifo_file permissive=1


Hash: boltd,boltd_t,var_run_t,fifo_file,unlink

Version-Release number of selected component:
selinux-policy-3.14.1-42.fc28.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.5
hashmarkername: setroubleshoot
kernel:         4.18.9-200.fc28.x86_64
type:           libreport

Potential duplicate: bug 1632381

Comment 1 Lukas Vrabec 2018-10-15 15:40:24 UTC
commit 49f8df43fc517dd0cb94dc611321c479e0864344
Author: Lukas Vrabec <lvrabec>
Date:   Wed Sep 26 10:21:22 2018 +0200

    Create boltd_var_run_t type for boltd pid files

Comment 2 Fedora Update System 2018-10-15 20:21:59 UTC
selinux-policy-3.14.2-39.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ce273879ac

Comment 3 Fedora Update System 2018-10-15 20:24:40 UTC
selinux-policy-3.14.1-46.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b493044b46

Comment 4 Fedora Update System 2018-10-16 12:38:28 UTC
selinux-policy-3.14.1-47.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b493044b46

Comment 5 Fedora Update System 2018-10-19 16:07:42 UTC
selinux-policy-3.14.1-47.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


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