From: Nic F. <nfe...@ta...> - 2006-01-03 22:31:40
|
I'm having a strange problem and I hope that someone else here will be able to point me in the right direction. I've got a 2.6.12 UML (but the problem occurs with 2.6.14 as well) running on top of a 2.6.12 kernel. I'm running a Debian/Sarge system ontop of this UML. And ssh doesn't work. When I try and connect to the ssh server it fails with a socketpair error. Here's the debug output of the ssh server: /usr/sbin/sshd -ddde debug1: Server will not fork when running in debugging mode. Connection from 127.0.0.1 port 3486 debug1: Client protocol version 2.0; client software version OpenSSH_3.8.1p1 Debian-8.sarge.4 debug1: match: OpenSSH_3.8.1p1 Debian-8.sarge.4 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.4 monitor_socketpair: socketpair debug1: do_cleanup debug1: PAM: cleanup debug3: PAM: sshpam_thread_cleanup entering Here's the scary bits from an strace: fcntl64(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 socketpair(PF_FILE, SOCK_STREAM, 0, 0x9fc00e08) = -1 EAFNOSUPPORT (Address family not supported by protocol) write(2, "monitor_socketpair: socketpair\r\n", 32monitor_socketpair: socketpair) = 32 Clearly something strange is going wrong with ssh. Now, I can chroot to the same file system and run the ssh daemon and it doesn't fubar. So is this a problem with UML in some way? Anybody have a clue because I am completly stumped. Nic Ferrier |