Bug 1592016
Summary: | SELinux is preventing /usr/sbin/slapd from map access on the file /usr/share/pki/ca-trust-source/ca-bundle.trust.p11-kit | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Lukas Slebodnik <lslebodn> |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.6 | CC: | lvrabec, mgrepl, mmalik, plautrba, ssekidde |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.13.1-205.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-30 10:05:18 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lukas Slebodnik
2018-06-16 08:22:31 UTC
AVC in enforcing mode: sh# ausearch -m avc -i type=PROCTITLE msg=audit(06/16/2018 04:18:45.968:490) : proctitle=/usr/sbin/slapd -u ldap -h ldapi:/// ldap:/// ldaps:/// type=SYSCALL msg=audit(06/16/2018 04:18:45.968:490) : arch=x86_64 syscall=mmap success=yes exit=140295990018048 a0=0x0 a1=0x3a4 a2=PROT_READ a3=MAP_PRIVATE items=0 ppid=1 pid=40285 auid=unset uid=ldap gid=ldap euid=ldap suid=ldap fsuid=ldap egid=ldap sgid=ldap fsgid=ldap tty=(none) ses=unset comm=slapd exe=/usr/sbin/slapd subj=system_u:system_r:slapd_t:s0 key=(null) type=AVC msg=audit(06/16/2018 04:18:45.968:490) : avc: denied { map } for pid=40285 comm=slapd path=/etc/pki/ca-trust/source/README dev="dm-0" ino=67228331 scontext=system_u:system_r:slapd_t:s0 tcontext=system_u:object_r:cert_t:s0 tclass=file permissive=1 and in permissive mode type=PROCTITLE msg=audit(06/16/2018 04:20:06.515:506) : proctitle=/usr/sbin/slapd -u ldap -h ldapi:/// ldap:/// ldaps:/// type=MMAP msg=audit(06/16/2018 04:20:06.515:506) : fd=15 flags=MAP_PRIVATE type=SYSCALL msg=audit(06/16/2018 04:20:06.515:506) : arch=x86_64 syscall=mmap success=no exit=EACCES(Permission denied) a0=0x0 a1=0x3a4 a2=PROT_READ a3=MAP_PRIVATE items=0 ppid=1 pid=40790 auid=unset uid=ldap gid=ldap euid=ldap suid=ldap fsuid=ldap egid=ldap sgid=ldap fsgid=ldap tty=(none) ses=unset comm=slapd exe=/usr/sbin/slapd subj=system_u:system_r:slapd_t:s0 key=(null) type=AVC msg=audit(06/16/2018 04:20:06.515:506) : avc: denied { map } for pid=40790 comm=slapd path=/etc/pki/ca-trust/source/README dev="dm-0" ino=67228331 scontext=system_u:system_r:slapd_t:s0 tcontext=system_u:object_r:cert_t:s0 tclass=file permissive=0 ---- type=PROCTITLE msg=audit(06/16/2018 04:20:06.516:507) : proctitle=/usr/sbin/slapd -u ldap -h ldapi:/// ldap:/// ldaps:/// type=MMAP msg=audit(06/16/2018 04:20:06.516:507) : fd=15 flags=MAP_PRIVATE type=SYSCALL msg=audit(06/16/2018 04:20:06.516:507) : arch=x86_64 syscall=mmap success=no exit=EACCES(Permission denied) a0=0x0 a1=0x3a9 a2=PROT_READ a3=MAP_PRIVATE items=0 ppid=1 pid=40790 auid=unset uid=ldap gid=ldap euid=ldap suid=ldap fsuid=ldap egid=ldap sgid=ldap fsgid=ldap tty=(none) ses=unset comm=slapd exe=/usr/sbin/slapd subj=system_u:system_r:slapd_t:s0 key=(null) type=AVC msg=audit(06/16/2018 04:20:06.516:507) : avc: denied { map } for pid=40790 comm=slapd path=/usr/share/pki/ca-trust-source/README dev="dm-0" ino=100688942 scontext=system_u:system_r:slapd_t:s0 tcontext=system_u:object_r:cert_t:s0 tclass=file permissive=0 ---- type=PROCTITLE msg=audit(06/16/2018 04:20:06.516:508) : proctitle=/usr/sbin/slapd -u ldap -h ldapi:/// ldap:/// ldaps:/// type=MMAP msg=audit(06/16/2018 04:20:06.516:508) : fd=15 flags=MAP_PRIVATE type=SYSCALL msg=audit(06/16/2018 04:20:06.516:508) : arch=x86_64 syscall=mmap success=no exit=EACCES(Permission denied) a0=0x0 a1=0xea0c4 a2=PROT_READ a3=MAP_PRIVATE items=0 ppid=1 pid=40790 auid=unset uid=ldap gid=ldap euid=ldap suid=ldap fsuid=ldap egid=ldap sgid=ldap fsgid=ldap tty=(none) ses=unset comm=slapd exe=/usr/sbin/slapd subj=system_u:system_r:slapd_t:s0 key=(null) type=AVC msg=audit(06/16/2018 04:20:06.516:508) : avc: denied { map } for pid=40790 comm=slapd path=/usr/share/pki/ca-trust-source/ca-bundle.trust.p11-kit dev="dm-0" ino=100688943 scontext=system_u:system_r:slapd_t:s0 tcontext=system_u:object_r:cert_t:s0 tclass=file permissive=0 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3111 |