Package: coreutils
Version: 5.97-5.3

Running `chroot /chroot` results in the following error message:

# chroot /chroot
chroot: cannot run command `/bin/bash': No such file or directory

Despite the fact that the binary is there.

# ls -l /chroot/bin/bash
-rwxr-xr-x 3 root root 677184 2006-12-11 16:20 /chroot/bin/bash*

I get similar error messages when trying to run false, ls, pwd,
scponly, and true instead of bash. However, if I try to run sash,
everything works perfectly.

# chroot /chroot /bin/sash
Stand-alone shell (version 3.7)
>

My suspicion is that chroot can't start bash or the other programs
because they rely on linux-gate.so.1 (according to ldd), and that
library is not in my chrooted environment. However, that's beyond the
scope of this bug.

I'm reporting this bug because the error message that chroot yields,
namely "no such file or directory" is wrong. Instead it should say
something to the effect of "Missing shared library
/lib/ld-linux.so.2", depending on the actual problem.

I am using Debian GNU/Linux (etch), kernel 2.6.18-5-486, and libc6
2.3.6.ds1-13etch2.

Am I right to report the bug here, or should I just go upstream? A lot
of people on the internet have the same problem as me that aren't
using Debian.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to