Package: dchroot
Version: 0.12
Severity: grave
Justification: renders package unusable
All programs can't be started in the i386 chroot.
I ran strace on dchroot and i get ENOPERM on chroot() as user
and a very weird 'umovestr: Input/output error' on execve("/bin/bash")
as root.
dchroot is setuid root, so ENOPERM should not happen:
[~]# id
uid=0(root) gid=0(root) gruppi=0(root)
[~]# dchroot true
(ia32) true
/bin/true: /bin/true: cannot execute binary file
dchroot: Child exited non-zero.
dchroot: Operation failed.
[~]# file /var/chroot/sid-ia32/bin/true
/var/chroot/sid-ia32/bin/true: ELF 32-bit LSB executable, Intel 80386, version
1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped
[~]# ldd /var/chroot/sid-ia32/bin/true
linux-gate.so.1 => (0xffffe000)
libc.so.6 => /emul/ia32-linux/lib/libc.so.6 (0xf7e1f000)
/lib/ld-linux.so.2 (0xf7f64000)
[~]# /var/chroot/sid-ia32/bin/true
[~]#
Btw, I can chroot manually with chroot.
Cheers,
Matteo Croce
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages dchroot depends on:
ii libc6 2.3.6-4 GNU C Library: Shared libraries an
dchroot recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]