Bug 1026661 - avc: denied { search } for pid=28072 comm="portreserve" name="sss"
avc: denied { search } for pid=28072 comm="portreserve" name="sss"
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy (Show other bugs)
All Linux
unspecified Severity unspecified
: rc
: ---
Assigned To: Miroslav Grepl
Milos Malik
: Regression
Depends On:
  Show dependency treegraph
Reported: 2013-11-05 02:56 EST by Petr Sklenar
Modified: 2014-06-17 22:28 EDT (History)
2 users (show)

See Also:
Fixed In Version: selinux-policy-3.12.1-109.el7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2014-06-13 08:10:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Petr Sklenar 2013-11-05 02:56:56 EST
Description of problem:
there si avc denial when running systemctl restart  portreserve.service

Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux Server release 7.0 Beta (Maipo)

How reproducible:
thatss strange.
I can see the issue only once when running in the beaker.
Its reproducible only if you clone the beaker job

Steps to Reproduce:
1. systemctl restart  portreserve.service

Actual results:
avc denial:

time->Mon Nov  4 11:48:36 2013
type=SYSCALL msg=audit(1383583716.655:1019): arch=c000003e syscall=42 success=no exit=-13 a0=4 a1=7fff86aac1c0 a2=6e a3=7fff86aabe90 items=0 ppid=1 pid=5187 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="portreserve" exe="/usr/sbin/portreserve" subj=system_u:system_r:portreserve_t:s0 key=(null)
type=AVC msg=audit(1383583716.655:1019): avc:  denied  { search } for  pid=5187 comm="portreserve" name="sss" dev="dm-1" ino=135650791 scontext=system_u:system_r:portreserve_t:s0 tcontext=system_u:object_r:sssd_var_lib_t:s0 tclass=dir

Expected results:
no denial

Additional info:
/var/lib/sss is inod 135650791
Comment 3 Miroslav Grepl 2013-11-25 05:16:13 EST
Are you getting more AVC msgs in permissive mode if you re-test it?
Comment 4 Milos Malik 2013-12-06 09:29:35 EST
There are no additional AVCs in permissive mode.
Comment 6 Ludek Smid 2014-06-13 08:10:36 EDT
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.

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