Summary: | net-dns/bind-{9.3.4-r3,9.4.1-r1} will not start as user named when ldap is set in nsswitch.conf | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Masidlover <amasidlover> |
Component: | Current packages | Assignee: | Konstantin Arkhipov (RETIRED) <voxus> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | bind+disabled, dertobi123, jsermer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alex Masidlover
2007-06-14 06:17:56 UTC
Try with 9.4.1-r1 please. Attempted with 9.4.1-r1 and received same result: noam ~ # named -v BIND 9.4.1 #0 0xb7ad46f8 in __res_hostalias () from /lib/libresolv.so.2 #1 0xb7ad4ed6 in __libc_res_nsearch () from /lib/libresolv.so.2 #2 0xb79e12aa in _nss_dns_gethostbyname3_r () from /lib/libnss_dns.so.2 #3 0xb79e1567 in _nss_dns_gethostbyname2_r () from /lib/libnss_dns.so.2 #4 0xb7c2db7e in ?? () from /lib/libc.so.6 #5 0xb7c2e6d2 in getaddrinfo () from /lib/libc.so.6 #6 0xb7b305ca in ldap_connect_to_host () from /usr/lib/libldap-2.3.so.0 #7 0xb7b1c8f8 in ldap_int_open_connection () from /usr/lib/libldap-2.3.so.0 #8 0xb7b2e4d3 in ldap_new_connection () from /usr/lib/libldap-2.3.so.0 #9 0xb7b1c7f1 in ldap_open_defconn () from /usr/lib/libldap-2.3.so.0 #10 0xb7b2ee5e in ldap_send_initial_request () from /usr/lib/libldap-2.3.so.0 #11 0xb7b23f5f in ldap_sasl_bind () from /usr/lib/libldap-2.3.so.0 #12 0xb7b248e4 in ldap_simple_bind () from /usr/lib/libldap-2.3.so.0 #13 0xb7b49909 in ?? () from /lib/libnss_ldap.so.2 #14 0x0ff04458 in ?? () #15 0x00000000 in ?? () I have a similar issue. I have to remove ldap from the group line in /etc/nsswitch.conf: hyperion ~ # grep ^group /etc/nsswitch.conf group: files ldap hyperion ~ # /etc/init.d/named start * Service named starting [ !! ] * ERROR: named failed to start hyperion ~ # grep ^group /etc/nsswitch.conf group: files hyperion ~ # /etc/init.d/named start * Service named starting * Service named started hyperion ~ # ps -ef|grep -i named named 9285 1 0 14:09 ? 00:00:00 /usr/sbin/named -u named -n 1 -t /chroot/dns I'm also running 9.4.1-r1 hyperion ~ # equery l net-dns/bind [ Searching for package 'bind' in 'net-dns' among: ] * installed packages [I--] [ ~] net-dns/bind-9.4.1-r1 (0) [I--] [ ~] net-dns/bind-tools-9.4.1-r1 (0) I have this same problem with net-dns/bind-9.4.1_p1. Bind works fine running from the foreground (-f) but daemonized it fails with ldap in the group line in nsswitch.conf. Building with 'dlz' as a USE flag seems to workaround this issue. (In reply to comment #5) > Building with 'dlz' as a USE flag seems to workaround this issue. > I'm not seeing why this would workaroung this issue, but if it does ... *shrugs* Anyways, that's nothing we can (easily) check within the ebuild so i close this one as CANTFIX. |