Bug 1196569
Summary: | named-sdb runs as initrc_t | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Milos Malik <mmalik> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.7 | CC: | dwalsh, lvrabec, mgrepl, mmalik, plautrba, pvrabec, ssekidde |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.7.19-262.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1030260 | Environment: | |
Last Closed: | 2015-07-22 07:11:28 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: | |||
Bug Depends On: | |||
Bug Blocks: | 832330, 1197089 |
Description
Milos Malik
2015-02-26 10:15:07 UTC
MIlos, what does # rpm -ql bind-sdb and # chcon -t named_exec_t /usr/sbin/named-sdb # rpm -ql bind-sdb /etc/openldap/schema /etc/openldap/schema/dnszone.schema /usr/sbin/ldap2zone /usr/sbin/named-sdb /usr/sbin/zone2ldap /usr/sbin/zone2sqlite /usr/sbin/zonetodb /usr/share/doc/bind-sdb-9.8.2 /usr/share/doc/bind-sdb-9.8.2/INSTALL.ldap /usr/share/doc/bind-sdb-9.8.2/README.ldap /usr/share/doc/bind-sdb-9.8.2/README.sdb_pgsql /usr/share/man/man1/zone2ldap.1.gz # After applying the named_exec_t label the daemon runs as named_t. The only AVCs that appear are: ---- time->Wed Mar 4 13:37:22 2015 type=PATH msg=audit(1425472642.462:1444): item=0 name="/proc/sys/vm/overcommit_memory" inode=648069 dev=00:03 mode=040555 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:unlabeled_t:s0 nametype=NORMAL type=CWD msg=audit(1425472642.462:1444): cwd="/var/named" type=SYSCALL msg=audit(1425472642.462:1444): arch=c000003e syscall=2 success=no exit=-13 a0=7f5bc071ac60 a1=80000 a2=ef a3=26110 items=1 ppid=30053 pid=30055 auid=0 uid=25 gid=25 euid=25 suid=25 fsuid=25 egid=25 sgid=25 fsgid=25 tty=(none) ses=44 comm="named-sdb" exe="/usr/sbin/named-sdb" subj=unconfined_u:system_r:named_t:s0 key=(null) type=AVC msg=audit(1425472642.462:1444): avc: denied { search } for pid=30055 comm="named-sdb" scontext=unconfined_u:system_r:named_t:s0 tcontext=system_u:object_r:sysctl_vm_t:s0 tclass=dir ---- They are related to recent change in glibc (BZ#867679). commit 33048cda1331e17cccc9981cbdd600f03e015c6b Author: Miroslav Grepl <mgrepl> Date: Wed Mar 4 14:32:25 2015 +0100 Add support for /usr/sbin/named-sdb. 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://rhn.redhat.com/errata/RHBA-2015-1375.html |