Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 1569729 - SELinux is preventing systemd from 'unlink' accesses on the file artifactory.pid.
Summary: SELinux is preventing systemd from 'unlink' accesses on the file artifactory....
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 27
Hardware: x86_64
OS: Unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:1b2dadb7f88f028c1f3c63a107b...
Depends On:
TreeView+ depends on / blocked
Reported: 2018-04-19 22:23 UTC by Lucas
Modified: 2018-11-30 22:49 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-11-30 22:49:24 UTC
Type: ---

Attachments (Terms of Use)

Description Lucas 2018-04-19 22:23:21 UTC
Description of problem:
SELinux is preventing systemd from 'unlink' accesses on the file artifactory.pid.

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

If you believe that systemd should be allowed unlink access on the artifactory.pid file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
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:var_t:s0
Target Objects                artifactory.pid [ file ]
Source                        systemd
Source Path                   systemd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-283.30.fc27.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.15.17-300.fc27.x86_64 #1 SMP Thu
                              Apr 12 18:19:17 UTC 2018 x86_64 x86_64
Alert Count                   22
First Seen                    2018-04-19 19:18:41 -03
Last Seen                     2018-04-19 19:20:34 -03
Local ID                      0a86af7d-3210-4407-859a-1f5d82afa58c

Raw Audit Messages
type=AVC msg=audit(1524176434.216:395): avc:  denied  { unlink } for  pid=1 comm="systemd" name="artifactory.pid" dev="dm-0" ino=3023632 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_t:s0 tclass=file permissive=0

Hash: systemd,init_t,var_t,file,unlink

Version-Release number of selected component:

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.15.17-300.fc27.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2018-04-20 13:12:59 UTC
Hi Lucas, 

What is artifactory?

Comment 3 drastrogeek 2018-07-30 15:50:15 UTC
software management :-)

Comment 4 Lukas Vrabec 2018-07-31 14:11:53 UTC
Hmm, is it supported by Fedora?

Comment 5 Lucas 2018-09-07 14:14:58 UTC
I don't know for sure. I think maybe it is. In the open source version of this platform, there is a rpm package that can be installed on Fedora.

Here's the link to the platform page:


Comment 6 Ben Cotton 2018-11-27 14:25:15 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Ben Cotton 2018-11-30 22:49:24 UTC
Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

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