Re: reboot -f in guest not working with recent Vserver versions
John Alberts <[email protected]>
| Newsgroups | gmane.linux.vserver |
|---|---|
| Message-ID | <CAJBrc2vcbkKVHW9aLqpGoZNk2dC94PLam9khszQ+bD9MQvG3Mw@mail.gmail.com> |
I had the same problem a while ago upgrading to something above 2.6.32 I think. The solution was to put restart script in a vshelper directory. For each guest on the host, put the following: cat /etc/vservers/<guestname>/apps/vshelper/restart #!/bin/bash echo "vserver <guestname> restart" | at now Once you do that, 'reboot -f' should work again. John On Tue, Dec 20, 2011 at 11:43 PM, Christian Balzer <[email protected]> wrote: > > Hello, > > Client OS is Debian Squeeze, identical install in both cases. > Host OS is also Debian Squeeze with custom kernel. > Older one runs: > > Kernel: 2.6.33.5-vs2.3.0.36.30.4 > VS-API: 0x00020305 > util-vserver: 0.30.215; Jun 18 2010, 13:35:17 > > Newer one runs: > Kernel: 3.0.7-vs2.3.1 > VS-API: 0x00020308 > VCI: 0x0000000013001f11 > util-vserver: 0.30.216-pre2986; Aug 29 2011, 07:49:51 > > As the tin says, reboot -f inside a guest works on the old one, but not on > the new one. > That is, on the new one it will shut down, but not restart. > > Regards, > > Christian > -- > Christian Balzer Network/Systems Engineer > [email protected] Global OnLine Japan/Fusion Communications > http://www.gol.com/ > -- John Alberts