--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libc6: Not working SCP/SFTP in 32bit domU(lenny) on 64bit Xen dom0(lenny amd64)
- From: Ondrej Svoboda <svoboda@tojeono.cz>
- Date: Thu, 29 Oct 2009 22:01:45 +0100
- Message-id: <20091029210145.30059.99263.reportbug@dude.tojeono.cz>
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.
Thank you
Ondrej
-- System Information:
Debian Release: 4.0
APT prefers oldstable
APT policy: (500, 'oldstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-xen-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages libc6 depends on:
ii tzdata 2008e-1etch3 Time Zone and Daylight Saving Time
libc6 recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
- To: Ondrej Svoboda <svoboda@tojeono.cz>
- Cc: 553268-done@bugs.debian.org
- Subject: Re: Bug#553268: libc6: Not working SCP/SFTP in 32bit domU(lenny) on 64bit Xen dom0(lenny amd64)
- From: Aurelien Jarno <aurelien@aurel32.net>
- Date: Tue, 3 Nov 2009 23:36:23 +0100
- Message-id: <20091103223623.GT26129@hall.aurel32.net>
- In-reply-to: <4AF09162.8090503@tojeono.cz>
- References: <20091029210145.30059.99263.reportbug@dude.tojeono.cz> <4AEAA559.8070703@aurel32.net> <4AECB71D.1040403@tojeono.cz> <20091031222832.GG26129@hall.aurel32.net> <4AF09162.8090503@tojeono.cz>
On Tue, Nov 03, 2009 at 09:24:02PM +0100, Ondrej Svoboda wrote:
> good evening,
> thank you for your hint - I figured out problem in my libraries, so now
> I have it working.
>
> thank you very much Ondrej
Ok, marking the bug as closed with this mail.
> Aurelien Jarno wrote:
> > 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
--- End Message ---