> On Thu, Jun 02, 2005 at 12:23:27AM +0200, Jean-Michel Caricand wrote:
> > [pid  1537] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> 
> Looks like tls, move /lib/tls out of the way.

The same identical thing is happening to me, and removing tls makes SSH
work.
But according to me the problem is NOT tls.

First: I loop-mounted UML image, chrooted in it and tested that SSH works
just fine as usual and as on every other NON uml host.
So this is not a problem regarding libraries or installation. (distro is a
sarge which I have debootstrapped today).

Second: if I disable interactive keys, SSH works. Access to the UML with
keys is OK (it does not use PAM)

Third: without using rsa/dsa keys, and using interactive, but disabling PAM
(USePam=no) it works.

To me the problem is related to PAM which on a 2.6 works good but not on my
UML. PAM has some weird issues on UML, so UML does not behave correctly
somewhere.

This is the final part of sshd strace.
Coredump avalaible.


Linux uml 2.6.11-bs5 #5 Thu Jun 2 14:52:02 CEST 2005 i686 GNU/Linux
debug1: KEX done
debug1: userauth-request for user root service ssh-connection method none
debug1: attempt 0 failures 0
debug2: monitor_read: 6 used once, disabling now
debug2: input_userauth_request: setting up authctxt for root
debug1: PAM: initializing for "root"
debug2: input_userauth_request: try method none
Failed none for root from ::ffff:172.16.255.254 port 44724 ssh2
debug1: userauth-request for user root service ssh-connection method
publickey
debug1: attempt 1 failures 1
debug2: input_userauth_request: try method publickey
debug1: test whether pkalg/pkblob are acceptable
debug1: PAM: setting PAM_RHOST to "172.16.255.254"
debug1: PAM: setting PAM_TTY to "ssh"
debug2: monitor_read: 45 used once, disabling now
debug2: monitor_read: 3 used once, disabling now
debug1: temporarily_use_uid: 0/0 (e=0/0)
debug1: trying public key file /root/.ssh/authorized_keys
debug1: restore_uid: 0/0
debug1: temporarily_use_uid: 0/0 (e=0/0)
debug1: trying public key file /root/.ssh/authorized_keys2
debug1: restore_uid: 0/0
debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa
Failed publickey for root from ::ffff:172.16.255.254 port 44724 ssh2
debug1: userauth-request for user root service ssh-connection method
publickey
debug1: attempt 2 failures 2
debug2: input_userauth_request: try method publickey
debug1: test whether pkalg/pkblob are acceptable
debug1: temporarily_use_uid: 0/0 (e=0/0)
debug1: trying public key file /root/.ssh/authorized_keys
debug1: restore_uid: 0/0
debug1: temporarily_use_uid: 0/0 (e=0/0)
debug1: trying public key file /root/.ssh/authorized_keys2
debug1: restore_uid: 0/0
debug2: userauth_pubkey: authenticated 0 pkalg ssh-dss
Failed publickey for root from ::ffff:172.16.255.254 port 44724 ssh2
debug1: userauth-request for user root service ssh-connection method
keyboard-inte
ractive
debug1: attempt 3 failures 3
debug2: input_userauth_request: try method keyboard-interactive
debug1: keyboard-interactive devs
debug1: auth2_challenge: user=root devs=
debug1: kbdint_alloc: devices 'pam'
debug2: auth2_challenge_start: devices pam
debug2: kbdint_next_device: devices <empty>
debug1: auth2_challenge_start: trying authentication method 'pam'
debug1: do_cleanup
debug1: PAM: cleanup
Segmentation fault

Max



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to