Subject: Re: [vserver] reboot -f hangs
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Wed, 19 Mar 2008 15:57:59 +0100 (CET)

Gebhardt Thomas wrote:
> Hi,
>
> when I try to reboot a VServer from "inside", the (using reboot -f)
> the VServer doesn't reboot. Even worse: the reboot process does
> not return (state: D) and can't be killed even from the host system

Do you see vshelper processes on the host too?

> myvserver# ps faux
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> root      5656  3.3  0.0    116    40 pts/0    S+   14:54   0:00 login
> root      5681  0.0  0.0   5052  1652 pts/3    Ss   14:54   0:00
> \_ /bin/bash -login
> root      5686  0.0  0.0   4504   908 pts/3    R+   14:54   0:00      \_
> ps
> faux
> root         1  0.4  0.0   1944   660 ?        Ss   14:43   0:02 init [2]
> root      4888  0.0  0.0   1428   324 ?        D    14:48   0:00 reboot -f
>
> I touched a vshelper logfile on the host. It reads:
>
> myhost#  cat vshelper.log
> Wed Mar 19 14:24:25 CET 2008: vshelper restart 1136
> Restarting vserver '/etc/vservers/myvserver'
> vserver 'myserver' already running
>
> My kernel version is 2.6.24.2-vs2.2.0.5.0.7 on debian etch
> (util-vserver: 0.30.212-1).

You are using a wildly experimental kernel (i.e. not feature complete,
much less thoroughly tested) with old utils. You'll at least want to
upgrade to 0.30.215, and maybe try a kernel that's known to work...

> Thanks for any hint!
> Kind regards, Thomas

-- 
Daniel Hokka Zakrisson