hi, Am Freitag, den 23.01.2009, 15:12 -0500 schrieb Rob Owens: > Per http://www.ltsp.org/~sbalneav/LTSPManual.html#updating-chroot, the > instructions for updating the chroot on a Debian system are: > > sudo chroot /opt/ltsp/i386 > sudo apt-get update (I don't think sudo is needed, though, since you are > chrooting as the root user) > sudo mount -t proc /proc /proc (again, sudo is not needed) > sudo apt-get upgrade (same here) > exit right, thats a bit mixed up ... either omit "sudo chroot /opt/ltsp/i386" in the beginning and make it:
sudo chroot /opt/ltsp/i386 apt-get update sudo chroot /opt/ltsp/i386 mount -t proc /proc /proc sudo chroot /opt/ltsp/i386 apt-get upgrade or use the above method but omit the sudos inside the chroot. > > Is it necessary to umount /proc before exiting, or is that not required? yes, thats essential keeping /proc mounted can give you intresting results ... (if you forget about it and proc is still mounted and you do something that could kill init inside the chroot for example, it would kill the servers init ... mounted /proc gives the chroot access to the servers hardware and processes) ciao oli
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword
_____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net