OpenVZ Forum


Home » Mailing lists » Users » Gentoo VPS Template Problems
Gentoo VPS Template Problems [message #685] Fri, 06 January 2006 18:18 Go to next message
devnu11 is currently offline  devnu11
Messages: 64
Registered: September 2005
Location: USA
Member

I created a Gentoo Template and it seems to be working fine except for if I
type "reboot" The vps shuts down fine but never comes back up. I tried
manually running the reboot cron job and it still did not start. I created a
CentOS guest and rebooted that vps and it did come back up so It's not a
problem with the cron job. There must be something which has to be added to
the gentoo template or the gentoo scripts in
/etc/sysconfig/vz-scripts/dists/scripts

Anyone have any suggestions?
Re: Gentoo VPS Template Problems [message #691 is a reply to message #685] Fri, 06 January 2006 18:48 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

VPS should create <VPS ROOT>/reboot file if it should be rebooted.
in FedoraCore4 template we have /etc/rc6.d/S00vzreboot which contains:
--------- cut ---------
#!/bin/bash
>//reboot
--------- cut ---------
do you have such file in you VPS?
I'm not familiar with Gentoo initscripts, so I'm not sure whether it's
enough for it :)

Kirill

> I created a Gentoo Template and it seems to be working fine except for if I
> type "reboot" The vps shuts down fine but never comes back up. I tried
> manually running the reboot cron job and it still did not start. I created a
> CentOS guest and rebooted that vps and it did come back up so It's not a
> problem with the cron job. There must be something which has to be added to
> the gentoo template or the gentoo scripts in
> /etc/sysconfig/vz-scripts/dists/scripts
>
> Anyone have any suggestions?
>
Previous Topic: Ubuntu Template /dev Problems
Next Topic: Kernel for Hyperthreading
Goto Forum:
  


Current Time: Tue Jul 30 02:35:34 GMT 2024

Total time taken to generate the page: 0.02841 seconds