nscd under th

Elan Ruusamäe glen at pld-linux.org
Sun Dec 22 21:09:55 CET 2013


in vservers, i have noticed that when nscd is up, hostname lookups just 
fail. any ideas?
unscd fails similarily, and i had at least one case when guest = ac had 
same failure, and also on 3.10 kernel

workaround is to set "enable-cache hosts no" in /etc/nscd.conf

# service nscd start
Starting Name Switch Cache Daemon service.........................................................................[ DONE ]

# getent hosts -i www.pld-linux.org; echo $?
2

# service nscd stop
Stopping Name Switch Cache Daemon service.........................................................................[ DONE ]

# getent hosts -i www.pld-linux.org; echo $?
217.149.246.10  pld-linux.org www.pld-linux.org
0

# uname -rm
3.4.60.longterm-1 x86_64

# rpm -q glibc
glibc-2.18-4.x86_64
nscd-2.18-4.x86_64





-- 
glen



More information about the pld-devel-en mailing list