openssh 4.2p1 bug

Catalin Toda cata at shivanet.ro
Tue Oct 11 22:32:31 EST 2005


hello,

I have just installed openssh 4.2p1 and it seems that sshd child process 
  crash if /var/empty/usr/lib do not exist. Here is a strace log ( 
before creating this directory):

26787 open("/etc/protocols", O_RDONLY)  = -1 ENOENT (No such file or 
directory)
26787 getsockopt(3, SOL_IP, IP_OPTIONS, "", [0]) = 0
26787 socket(PF_UNIX, SOCK_STREAM, 0)   = 6
26787 connect(6, {sa_family=AF_UNIX, path="/var/run/nscd/socket"}, 110) 
= -1 ENOENT (No such file or directory)
26787 close(6)                          = 0
26787 gettimeofday({1129033086, 170608}, NULL) = 0
26787 open("/etc/resolv.conf", O_RDONLY) = -1 ENOENT (No such file or 
directory)
26787 uname({sys="Linux", node="edge", ...}) = 0
26787 open("/etc/host.conf", O_RDONLY)  = -1 ENOENT (No such file or 
directory)
26787 open("/etc/hosts", O_RDONLY)      = -1 ENOENT (No such file or 
directory)
26787 open("/etc/ld.so.cache", O_RDONLY) = -1 ENOENT (No such file or 
directory)
26787 open("/lib/tls/i686/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No 
such file or directory)
26787 stat64("/lib/tls/i686", 0xbfe596bc) = -1 ENOENT (No such file or 
directory)
26787 open("/lib/tls/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such 
file or directory)
26787 stat64("/lib/tls", 0xbfe596bc)    = -1 ENOENT (No such file or 
directory)
26787 open("/lib/i686/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such 
file or directory)
26787 stat64("/lib/i686", 0xbfe596bc)   = -1 ENOENT (No such file or 
directory)
26787 open("/lib/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such file 
or directory)
26787 stat64("/lib", 0xbfe596bc)        = -1 ENOENT (No such file or 
directory)
26787 open("/usr/lib/tls/i686/libnss_dns.so.2", O_RDONLY) = -1 ENOENT 
(No such file or directory)
26787 stat64("/usr/lib/tls/i686", 0xbfe596bc) = -1 ENOENT (No such file 
or directory)
26787 open("/usr/lib/tls/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No 
such file or directory)
26787 stat64("/usr/lib/tls", 0xbfe596bc) = -1 ENOENT (No such file or 
directory)
26787 open("/usr/lib/i686/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No 
such file or directory)
26787 stat64("/usr/lib/i686", 0xbfe596bc) = -1 ENOENT (No such file or 
directory)
26787 open("/usr/lib/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such 
file or directory)
26787 stat64("/usr/lib", 0xbfe596bc)    = -1 ENOENT (No such file or 
directory)
26787 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
26784 <... read resumed> 0xbfe5b1b8, 4) = ? ERESTARTSYS (To be restarted)
26784 --- SIGCHLD (Child exited) @ 0 (0) ---
26784 read(6, "", 4)                    = 0
26784 exit_group(255)                   = ?
1682  <... select resumed> )            = 1 (in [5])
1682  --- SIGCHLD (Child exited) @ 0 (0) ---
1682  waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 255}], WNOHANG) = 
26784
1682  waitpid(-1, 0xbf9c9ea0, WNOHANG)  = 0
1682  rt_sigaction(SIGCHLD, NULL, {0x804c7d4, [], 0}, 8) = 0
1682  sigreturn()                       = ? (mask now [])
1682  close(5)                          = 0
1682  select(6, [3], NULL, NULL, NULL <unfinished ...>




More information about the openssh-unix-dev mailing list