From: Torsten Kurbad (torsten_at_tk-webart.de)
Date: Thu 27 Jan 2005 - 21:38:08 GMT
On Thursday, January 27, 2005 at 9:25:52 PM, Herbert Poetzl wrote:
> I guess the 'reboots the host' issue is gone now, right?
Yes, that is accomplished now. Thanks!
> next step is to use 'reboot -f' instead of reboot, if
> you do not have some kind of init (inside the vserver)
> handling the reboot syscall for you ...
> reboot/shutdown/poweroff and friends just send a message
> to init (which usually does the reboot), but the -f option
> makes those tools (actually copies of init) do the syscall
> directly ...
"reboot -f" simply returns to the prompt without actually restarting
anything, as do "halt -f" and "shutdown -nr now". The latter one issues:
zope3 ~ # shutdown -nr now
shutdown: can't idle init.
Broadcast message from root (pts/2) (Thu Jan 27 22:33:06 2005):
The system is going down for reboot NOW!
/sbin/rc reboot (Gentoo's default inittab entry for runlevel 6)
shuts down everything, but doesn't reenter the default runlevel
afterwards.
The vserver has the capability CAP_NET_RAW to be pingable. Tried
CAP_SYS_BOOT in addition but that didn't change anything.
Also tried setting the fakeinit flag, but than the vserver to refuses
to work...
Still any suggestions for a working what's wrong with my setup?
Regards,
Torsten
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver