Bug#551992: general: stopping squeeze chroot shuts system
> /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...
>
In a lenny chroot, on the same system, rc6.d/S90reboot calls 'reboot -d -f
i' and that works like I'd expect; the chroot is stopped and the system
keeps on running.
In the squeeze chroot we have rc6.d/K09reboot and the same 'reboot -d -f -i'.
I will check if the -f does the trick but I still think the behaviour
should be the same for both lenny and squeeze. I also think that the
ability to reboot a system by rebooting a chrooted environment shouldn't
be possible so the bug remains.
According xen or kvm; eventually we will make that change of course, but
at the moment that's not something we're focussing.
Regards,
Martin
Reply to: