Hide Forgot
Description of problem: New AVC denial appeared: type=SYSCALL msg=audit(1473934873.287:1068): arch=c0000015 syscall=40 success=no exit=-13 a0=3fffc7d6ad88 a1=0 a2=3fff87d90fd0 a3=0 items=0 ppid=29209 pid=29496 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="selinux_child" exe="/usr/libexec/sssd/selinux_child" subj=system_u:system_r:sssd_selinux_manager_t:s0 key=(null) type=AVC msg=audit(1473934873.287:1068): avc: denied { rmdir } for pid=29496 comm="selinux_child" name="contexts" dev="dm-0" ino=101862232 scontext=system_u:system_r:sssd_selinux_manager_t:s0 tcontext=system_u:object_r:default_context_t:s0 tclass=dir Version-Release number of selected component (if applicable): sssd-1.14.0-41.el7 selinux-policy-3.13.1-99.el7 How reproducible: Seen once so far, while automated test was executed. With new execution the AVC denial did not appeared again.
selinux_child does not call rmdir itself. it just uses libsemange and libsemanage seems to call rmdir sh# objdump -T /usr/libexec/sssd/selinux_child | grep rmdir sh# objdump -p /usr/libexec/sssd/selinux_child | grep semanage NEEDED libsemanage.so.1 required from libsemanage.so.1: sh# objdump -T /usr/lib64/libsemanage.so | grep rmdir 0000000000000000 DF *UND* 0000000000000000 GLIBC_2.2.5 rmdir
It seems to be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1368097 which is supposed to be fixed in selinux-policy-3.13.1-97.el7