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

Bug#551992: general: stopping squeeze chroot shuts system



On Thu, Oct 22, 2009 at 5:01 PM,  <martin@grachtwal.nu> wrote:
> All,
> 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.

/etc/rc6.d/S90reboot invokes  reboot -d -f -i.  The -f there means it
goes straight to the kernel to reboot.
Make that file empty (so it's treated as a conffile change) and you
should be good.
You might also want to consider using kvm or xen instead of raw chroots...



Reply to: