Bug 1367670 - SELinux is preventing restorecon from 'write' accesses on the fifo_file /var/tmp/dracut.c9KOpH/systemd-cat.
Summary: SELinux is preventing restorecon from 'write' accesses on the fifo_file /var/...
Keywords:
Status: CLOSED DUPLICATE of bug 1311534
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:13e9b4f47ae3f5c3fa7c567e7bc...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-17 07:58 UTC by Hubert Kario
Modified: 2016-08-23 15:03 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-23 15:03:57 UTC
Type: ---


Attachments (Terms of Use)

Description Hubert Kario 2016-08-17 07:58:29 UTC
Description of problem:
SELinux is preventing restorecon from 'write' accesses on the fifo_file /var/tmp/dracut.c9KOpH/systemd-cat.

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

If you believe that restorecon should be allowed write access on the systemd-cat 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:object_r:kdumpctl_tmp_t:s0
Target Objects                /var/tmp/dracut.c9KOpH/systemd-cat [ fifo_file ]
Source                        restorecon
Source Path                   restorecon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-191.10.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.6.6-300.fc24.x86_64 #1 SMP Wed
                              Aug 10 21:07:35 UTC 2016 x86_64 x86_64
Alert Count                   2
First Seen                    2016-08-09 23:30:59 CEST
Last Seen                     2016-08-17 09:56:49 CEST
Local ID                      dca8d7a0-f18a-4261-ba8a-1a6fc19a983e

Raw Audit Messages
type=AVC msg=audit(1471420609.974:240): avc:  denied  { write } for  pid=21633 comm="restorecon" path="/var/tmp/dracut.c9KOpH/systemd-cat" dev="dm-2" ino=604750 scontext=system_u:system_r:setfiles_t:s0 tcontext=system_u:object_r:kdumpctl_tmp_t:s0 tclass=fifo_file permissive=1


Hash: restorecon,setfiles_t,kdumpctl_tmp_t,fifo_file,write

Version-Release number of selected component:
selinux-policy-3.13.1-191.10.fc24.noarch

Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.6.6-300.fc24.x86_64
type:           libreport

Potential duplicate: bug 1311534

Comment 1 Lukas Vrabec 2016-08-23 15:03:57 UTC

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


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