Re: [Vserver] VServer reboot - timeout opening/writing control channel /dev/initctl

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Fri 03 Nov 2006 - 11:28:03 GMT
Message-ID: <454B27C3.6090809@hozac.com>

Oliver Paulus wrote:
>> As expected if you're not running an init (i.e. using the plain
>> initstyle). >You'll have to use reboot -f to invoke vshelper which
>> would reboot the guest.
>
>
> Can you explain that a little bit more in detail for me? How is it
> possible to
> use a simple reboot within vserver?

reboot alone won't work without an init, and by default guests don't
have one (see below). reboot -f just calls into the kernel and tells it
to reboot. This is caught by the patch and the kernel runs vshelper,
which does the rebooting/halting.

>> As expected if you're not running an init (i.e. using the plain
>> initstyle).
>
>
> I think vserver is running init on startup.

Only if you're using the plain initstyle, the default (sysv) just runs
the initscripts without going through init.

-- 
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Nov 3 11:36:31 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 03 Nov 2006 - 11:37:35 GMT by hypermail 2.1.8