Linux 4.2p1 crash during reverse name lookup

Darren Tucker dtucker at zip.com.au
Thu Jan 12 17:00:18 EST 2006


On Wed, Jan 11, 2006 at 10:15:08PM +0000, Darryl L. Miles wrote:
> The problem system FedoraCore2 is using glibc 2.3.3, I have repeated
> the same thing on a CentOS4.2 based system using glibc 2.3.4 and [it
> worked ok]

Looks like you've got it sorted, but for the record: it's a bug in
glibc that causes a crash when a name service lookup is done and /lib
doesn't exist.  Normally this isn't a problem but it causes problems
when a chroot'ed process does a name lookup.

The workaround is to create a /lib dir inside sshd's chroot (/var/empty
by default).  The real solution is of course to upgrade to a glibc that
has the bug fixed.

The previous discussion is here:
http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=111045930530623

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list