[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#551992: general: stopping squeeze chroot shuts system

very sorry for the confusion about stopping the chroot.
I think the easiest way is to include the script we use to 'start'
and 'stop' chroots.

Some notes;
- I haven't written the script, so any geniality or stupidity isn't mine
- For managing different chrooted environments it works really great.
- Using scripts like these we can move applications in dedicated chroots
extremely fast across our 2 datacenters.
- I know we use an outdated form of technology, it works though. Well, up
until this afternoon it did.


> On Thu, Oct 22, 2009 at 02:16:39PM +0200, Martin Boer
> <martin@grachtwal.nu> was heard to say:
>> On this system I installed a squeeze chroot using the following command:
>> debootstrap squeeze /chroot/squeeze-x64-lighttpd-chroot
>> http://ftp.debian.org/debian/
>> This works as expected but when I stop the chroot, the system shuts as
>> well.
>> This is highly unexpected and somewhat unpleasant behaviour.
>   By "stop the chroot", do you mean that you typed "exit" in the
> chrooted shell, or that you ran "shutdown -h" there?
>   Daniel

Attachment: chroot
Description: Binary data

Reply to: