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

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



On Mon, Aug 20, 2007 at 02:24:18PM -0400, Neil Watson wrote:
From: Neil Watson <debian@watson-wilson.ca>
To: debian-user@lists.debian.org
Subject: Re: chroot: cannot run command `/bin/bash': No such file or directory
X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on murphy.debian.org
X-Spam-Level: X-Spam-Status: No, score=-4.3 required=4.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,IMPRONONCABLE_2,LDOSUBSCRIBER,SPF_PASS autolearn=no version=3.1.4

On Mon, Aug 20, 2007 at 08:12:24PM +0200, Gerard Robin wrote:
 find /f:

/f
/f/bin
/f/bin/bash
/f/lib
/f/lib/libncurses.so.5
/f/lib/ld-2.6.1.so
/f/lib/libdl.so.2
/f/lib/libc.so.6

First post:
ldd  /bin/bash
         libncurses.so.5 => /lib/libncurses.so.5 (0x00002b2d9014f000)
         libdl.so.2 => /lib/libdl.so.2 (0x00002b2d9039b000)
         libc.so.6 => /lib/libc.so.6 (0x00002b2d9059f000)
         /lib64/ld-linux-x86-64.so.2 (0x00002b2d8ff31000)

I don't see the last entry in the results of the find command.
yes but it's a symbolic link to ld-2.6.1.so:

ls -la /lib64/ld-linux-x86-64.so.2 :
lrwxrwxrwx 1 root root 11 2007-08-07 23:08 /lib64/ld-linux-x86-64.so.2 -> ld-2.6.1.so*


--
Gérard



Reply to: