Bug 1474084 - SELinux is preventing systemd from 'unlink' accesses on the file stunnel.pid.
SELinux is preventing systemd from 'unlink' accesses on the file stunnel.pid.
Status: NEW
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
26
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lukas Vrabec
Fedora Extras Quality Assurance
abrt_hash:1e2eeb25bdf59fef03e479eef0a...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-23 14:46 EDT by Matthias Runge
Modified: 2017-07-23 14:46 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Matthias Runge 2017-07-23 14:46:42 EDT
Description of problem:
SELinux is preventing systemd from 'unlink' accesses on the file stunnel.pid.

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

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

Additional Information:
Source Context                system_u:system_r:init_t:s0
Target Context                system_u:object_r:stunnel_tmp_t:s0
Target Objects                stunnel.pid [ file ]
Source                        systemd
Source Path                   systemd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-260.1.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.11.11-300.fc26.x86_64 #1 SMP Mon
                              Jul 17 16:32:11 UTC 2017 x86_64 x86_64
Alert Count                   44
First Seen                    2016-12-05 08:02:32 CET
Last Seen                     2017-07-23 20:43:50 CEST
Local ID                      02ab7f5c-ba44-47b4-a3ff-c7a80dbfbb6c

Raw Audit Messages
type=AVC msg=audit(1500835430.683:301): avc:  denied  { unlink } for  pid=1 comm="systemd" name="stunnel.pid" dev="tmpfs" ino=40340 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:stunnel_tmp_t:s0 tclass=file permissive=1


Hash: systemd,init_t,stunnel_tmp_t,file,unlink

Version-Release number of selected component:
selinux-policy-3.13.1-260.1.fc26.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.11.11-300.fc26.x86_64
type:           libreport

Potential duplicate: bug 1425303

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