[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)



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



Reply to: