OpenVZ Forum


Home » Mailing lists » Users » VEs and rebooting
VEs and rebooting [message #12734] Tue, 08 May 2007 11:08 Go to previous message
pookey is currently offline  pookey
Messages: 12
Registered: March 2007
Junior Member
I'm trying to put together how the VEs are meant to reboot.

I've noticed that there's a /etc/cron.d/vz, which runs

/usr/share/vzctl/scripts/vpsnetclean
and
/usr/share/vzctl/scripts/vpsreboot

My understanding is that vpsreboot should scan for
/vz/private/nnn/reboot, and if it finds that file, it will start the VPS
and delete it the file.

I've looked at the init.d script for rebooting within all of my VEs,
there's a couple of debian ones (3.1 and 4) and a gentoo VE, however
none of these init.d script (be it reboot, or reboot.sh) create the
/reboot file.

These templates were downloaded from the official templates directory.
Is the reboot init script resonsible for creating the file, and if it
is, why doesn't it do it on any of my VPSs? And what is in place to
'fix' the init script should the distro change it during an update?

Thanks,


--
Ian P. Christian ~ http://pookey.co.uk
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: kernel oops
Next Topic: Logging traffic stats for VEs
Goto Forum:
  


Current Time: Sun Jul 14 06:51:16 GMT 2024

Total time taken to generate the page: 0.02204 seconds