Debootstrap, bind, and chroot

Stephen R Laniel steve at laniels.org
Mon Nov 14 22:07:07 UTC 2005


This advice on how to run bind as chroot seems overly
complicated to me:
http://people.debian.org/~pzn/howto/chroot-bind.sh.txt

Shouldn't there be some way to basically debootstrap a bind
installation into the chroot jail? I'd like to be able to do
something like

chroot /chroot sudo apt-get install bind

but that unfortunately doesn't work -- because by the time
we get to the 'apt-get' command, the shell thinks the root
is /chroot . Conundrum.

Any thoughts on how to get around this?

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20051114/52d51b82/attachment.sig>


More information about the ubuntu-users mailing list