Bug#211621: libc6: upgrade causes lwres-related breakage; sshd hangs trying to login
Package: libc6
Version: 2.3.2-7
Severity: grave
Tags: sid
Justification: renders package unusable
Using an /etc/nsswitch.conf line as follows:
hosts: files lwres [!unavail=return] dns
(with the libnss-lwres 0.93-4 package installed), sshd will hang after
accepting but before authenticating a connection.
On the client side, the last bit of ssh verbosity is:
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
On the server side, strace reports no further activity after:
[pid 25736] read(5, "\0\0\0\27", 4) = 4
[pid 25736] read(5, "\3\0\0\0\16ssh-connection\0\0\0\0", 23) = 23
[pid 25736] read(5, "\0\0\0\5", 4) = 4
[pid 25736] read(5, "\n\0\0\0\0", 5) = 5
[pid 25736] time(NULL) = 1063936118
[pid 25736] open("/etc/nologin", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 25736] getuid32() = 0
[pid 25736] open("/etc/passwd", O_RDONLY) = 3
[pid 25736] fcntl64(3, F_GETFD) = 0
[pid 25736] fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
[pid 25736] _llseek(3, 0, [0], SEEK_CUR) = 0
[pid 25736] fstat64(3, {st_mode=S_IFREG|0644, st_size=1033, ...}) = 0
[pid 25736] mmap2(NULL, 1033, PROT_READ, MAP_SHARED, 3, 0) = 0x40016000
[pid 25736] _llseek(3, 1033, [1033], SEEK_SET) = 0
[pid 25736] munmap(0x40016000, 1033) = 0
[pid 25736] close(3) = 0
[pid 25736] open("/etc/shadow", O_RDONLY) = 3
[pid 25736] fcntl64(3, F_GETFD) = 0
[pid 25736] fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
[pid 25736] _llseek(3, 0, [0], SEEK_CUR) = 0
[pid 25736] fstat64(3, {st_mode=S_IFREG|0640, st_size=708, ...}) = 0
[pid 25736] mmap2(NULL, 708, PROT_READ, MAP_SHARED, 3, 0) = 0x40016000
[pid 25736] _llseek(3, 708, [708], SEEK_SET) = 0
[pid 25736] munmap(0x40016000, 708) = 0
[pid 25736] close(3) = 0
[pid 25736] getuid32() = 0
[pid 25736] geteuid32() = 0
[pid 25736] ioctl(0, SNDCTL_TMR_TIMEBASE, 0xbfffecc0) = -1 ENOTTY (Inappropriate ioctl for device)
[pid 25736] ioctl(0, SNDCTL_TMR_TIMEBASE, 0xbfffecb0) = -1 ENOTTY (Inappropriate ioctl for device)
[pid 25736] time([1063936118]) = 1063936118
[pid 25736] getpid() = 25736
[pid 25736] rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
[pid 25736] rt_sigsuspend([]
This problem does not occur if /etc/nsswitch.conf is changed to:
hosts: files dns
Or if a version of libc6 prior to 2.3.2 is installed.
--
Rob Leslie
rob@mars.org
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux phobos 2.4.21-4-686-smp #1 SMP Sun Aug 3 00:31:17 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages libc6 depends on:
ii libdb1-compat 2.1.3-7 The Berkeley database routines [gl
-- no debconf information
Reply to: