View Single Post
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#134
About unmounting: I found that killing all chrooted programs like this:


for i in [0-9]* ; do if ls -dl $i/root | grep -q /opt ; then kill $i ; fi ; done


And then unmounting in the correct order (basically reversed order of mounting), works everytime.

Now if there was only a way to prevent apt-get in the chroot from killing external daemons (ssh, hal, etc.), it would be great.
 

The Following User Says Thank You to Matan For This Useful Post: