View Single Post
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#98
Originally Posted by qole View Post
Unmounting is often difficult, because many applications start up and then keep running in the chroot. Also, several system paths (/dev, /media, /home/user, etc) get bound into the chroot to make the chroot programs aware of the system... I've found that the only sure way to "close" the chroot is to reboot.
Maybe you should think of incorporating the dynamic symlink technique used in scratchbox. It seems to me mixing and matching a combination of environment variables, dynamic symlinks, binding mounts and a chroot can get you where you want to go.