[ale] chroot oddity?

Robert L. Harris Robert.L.Harris at rdlg.net
Sat Jul 12 21:16:27 EDT 2003



  Ok, I'm missing something stupid here.

root at wally
{0}:/usr/chroot/>ls -la
total 40
drwxr-xr-x   10 root     root         4096 Jul 12 21:12 .
drwxr-xr-x    3 root     root         4096 Jul 12 21:10 ..
drwxr-xr-x    2 root     root         4096 Jul 12 19:33 bin
drwxr-xr-x    2 root     root         4096 Jul 12 18:40 dev
drwxr-xr-x    5 root     root         4096 Jul 12 21:02 etc
drwxr-xr-x    2 root     root         4096 Jul 12 18:34 lib
drwxr-xr-x    2 root     root         4096 Jul 12 20:58 root
drwxr-xr-x    2 root     root         4096 Jul 12 21:12 tmp
drwxr-xr-x    3 root     root         4096 Jul 12 21:07 usr
drwxr-xr-x    3 root     root         4096 Jul 12 18:24 var

root at wally
{127}:/usr/chroot/named>ls -la dev
total 8
drwxr-xr-x    2 root     root         4096 Jul 12 18:40 .
drwxr-xr-x   10 root     root         4096 Jul 12 21:12 ..
crw-rw-rw-    1 root     root       1,   3 Jul 12 18:40 null
crw-rw-rw-    1 root     root       1,   8 Jul 12 18:40 random

root at wally
{0}:/usr/chroot/>ls -la bin/bash
-rwxr-xr-x    1 root     root       690668 Jul 12 18:32 bin/bash

root at wally
{0}:/usr/chroot/named>chroot /usr/chroot/named/ bin/bash 
chroot: bin/bash: No such file or directory

root at wally
{127}:/usr/chroot/named>chroot /usr/chroot/named/ /bin/bash 
chroot: /bin/bash: No such file or directory

/lib and /usr/lib have all the libraries needed however a missing
library gives a different error.

It's late on a Sat night so most likely it's something small and stupid.

Any thoughts?



:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu 
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

Diagnosis: witzelsucht  	

IPv6 = robert at ipv6.rdlg.net	http://ipv6.rdlg.net
IPv4 = robert at mail.rdlg.net	http://www.rdlg.net

 PGP signature




More information about the Ale mailing list