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 1419672 - SELinux is preventing sanlock from 'search' accesses on the directory d1.
Summary: SELinux is preventing sanlock from 'search' accesses on the directory d1.
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 24
Hardware: x86_64
OS: Unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:221cbd51c22c706c41cbe4038f8...
Depends On:
TreeView+ depends on / blocked
Reported: 2017-02-06 17:35 UTC by jniederm
Modified: 2017-08-08 19:38 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-08-08 19:38:08 UTC
Type: ---

Attachments (Terms of Use)

Description jniederm 2017-02-06 17:35:24 UTC
Description of problem:
Trying to use machine as a oVirt SPM host.
SELinux is preventing sanlock from 'search' accesses on the directory d1.

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

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

Additional Information:
Source Context                system_u:system_r:sanlock_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:user_home_t:s0
Target Objects                d1 [ dir ]
Source                        sanlock
Source Path                   sanlock
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-191.24.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.9.6-100.fc24.x86_64 #1 SMP Thu
                              Jan 26 10:21:30 UTC 2017 x86_64 x86_64
Alert Count                   593
First Seen                    2016-11-28 16:57:51 CET
Last Seen                     2017-02-06 18:32:25 CET
Local ID                      cdf95b16-980d-42c3-984c-8b2180773a0f

Raw Audit Messages
type=AVC msg=audit(1486402345.827:4014): avc:  denied  { search } for  pid=644 comm="sanlock" name="d1" dev="0:47" ino=9442807 scontext=system_u:system_r:sanlock_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir permissive=0

Hash: sanlock,sanlock_t,user_home_t,dir,search

Version-Release number of selected component:

Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.9.6-100.fc24.x86_64
type:           libreport

Comment 1 Fedora End Of Life 2017-07-26 00:14:50 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. 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 '24'.

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 24 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 2 Fedora End Of Life 2017-08-08 19:38:08 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 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.