Hello, I'm trying to reboot from inside a vserver.
===With sysv init style: test:/# reboot Broadcast message from root (pts/1) (Mon Oct 9 09:45:00 2006): The system is going down for reboot NOW! shutdown: timeout opening/writing control channel /dev/initctl init: timeout opening/writing control channel /dev/initctl test:/# Doesn't do it... ===With plain init style: test:/home/admin# reboot Broadcast message from root (pts/1) (Mon Oct 9 09:47:12 2006): The system is going down for reboot NOW! ssh disconnects but vserver doesn't come up again... On the guest: vserver:~# vserver-stat CTX PROC VSZ RSS userTIME sysTIME UPTIME NAME 0 62 140.5M 42.6M 2m40s20 3m50s28 3d00h33 root server 1 1 2.2M 1.1M 4m12s85 8m07s79 3d00h28 monitoring server 6 5 10.4M 2.7M 0m00s30 0m00s64 3d00h32 vszope6 26 1 1.5M 528K 0m00s28 0m00s22 2m12s82 test26 --->> still there, one process left! Trying to stop it: vserver:~# vserver test26 stop A timeout occured while waiting for the vserver to finish and it will be killed by sending a SIGKILL signal. The following process list might be useful for finding out the reason of this behavior: ---------------------------------------------------------------------- 31000 26 test26 ? Ss 0:00 init [6] ---------------------------------------------------------------------- ... It looks like the vserver init doesn't stop by itself and gets stuck. reboot -f gives the same result on both init styles CAP_SYS_BOOT is set in /etc/vservers/test26/bcapabilities time-out is set to 120 in /etc/vservers/test26/apps/vshelper/sync-timeout Any idea? Thanks a lot Mehdi Bennani ================================= System info: Debian sarge vserver:~# /usr/sbin/vserver-info Versions: Kernel: 2.6.17-2-vserver-686 VS-API: 0x00020002 util-vserver: 0.30.211; Oct 8 2006, 14:51:45 _______________________________________________ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver