[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#553268: libc6: Not working SCP/SFTP in 32bit domU(lenny) on 64bit Xen dom0(lenny amd64)



On Sat, Oct 31, 2009 at 11:15:57PM +0100, Ondrej Svoboda wrote:
> Hello Aurelien,
Hi,

> sry for confusing - the domU isn't leeny but etch. Please could you
> somehow help me?

You may want to try to install a Lenny kernel in your Etch DomU, at
least to see if it helps.

Aurelien

> ondrej
> 
> Aurelien Jarno wrote:
> > Ondrej Svoboda a écrit :
> >> Package: libc6
> >> Version: 2.3.6.ds1-13etch9+b1
> >> Severity: important
> >>
> >> Hi,
> >> I have domU lenny and trying to acces via SFTP or SCP. User has shell
> >> scponlyc and is chrooted in his homedirectory. I'm getting following
> >> errors:
> >> When using SCP:
> >> Command 'groups'
> >> failed with return code 127 and error message
> >> Inconsistency detected by ld.so: rtld.c: 1108: dl_main: Assertion `(void *)
> >> ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!.
> >> Command 'pwd'
> >> failed with return code 127 and error message
> >> Inconsistency detected by ld.so: rtld.c: 1108: dl_main: Assertion `(void *)
> >> ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!.
> >> ... for each command the same error
> >>
> >> When using SFTP:
> >> Connection has been unexpectedly closed. Server sent command exit status
> >> 127.
> >> Cannot initialize SFTP protocol. Is the host running a SFTP server?
> >>
> >> and in auth.log I have:
> >> Oct 29 20:31:55 dude sshd[21827]: Accepted password for test from
> >> 127.0.0.1 port 39651 ssh2
> >> Oct 29 20:31:55 dude sshd[21835]: subsystem request for sftp
> >> Oct 29 20:31:55 dude scponly[21836]: chrooted binary in place, will chroot()
> >> Oct 29 20:31:56 dude scponly[21836]: 3 arguments in total.
> >> Oct 29 20:31:56 dude scponly[21836]: ^Iarg 0 is scponlyc
> >> Oct 29 20:31:56 dude scponly[21836]: ^Iarg 1 is -c
> >> Oct 29 20:31:56 dude scponly[21836]: ^Iarg 2 is /usr/lib/openssh/sftp-server
> >> Oct 29 20:31:56 dude scponly[21836]: opened log at LOG_AUTHPRIV, opts
> >> 0x00000029
> >> Oct 29 20:31:56 dude scponly[21836]: retrieved home directory of
> >> "/home/test/" for user "test"
> >> Oct 29 20:31:56 dude scponly[21836]: chrooting to dir:
> >> "/home/test/"
> >> Oct 29 20:31:56 dude scponly[21836]: chdiring to dir: "/"
> >> Oct 29 20:31:56 dude scponly[21836]: chdiring to dir: "/"
> >> Oct 29 20:31:56 dude scponly[21836]: setting uid to 9295
> >> Oct 29 20:31:56 dude scponly[21836]: processing request:
> >> "/usr/lib/openssh/sftp-server"
> >> Oct 29 20:31:56 dude scponly[21836]: running: /usr/lib/sftp-server
> >> (username: test(9295), IP/port: localhost 39651 22)
> >>
> >> I have the same domU running on Xen lenny 32bit and there is working OK. So
> >> the only difference is between lenny version of dom0.
> >>
> > 
> > I am a bit confused about what runs Lenny, and what runs Etch. You
> > reported this bug on the Etch version of libc6 while you talk about a
> > Lenny domU.
> > 
> > Can you please synthesise which combination of dom0/domU works, and
> > which one does not work?
> > 
> > Note that it is most probably a Xen problem, not a libc6 one.
> > 
> 

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: