OpenVZ Forum

Home » General » Support » Time inside container
Time inside container [message #51042] Mon, 06 January 2014 22:26 Go to previous message
ilou is currently offline  ilou
Messages: 2
Registered: January 2014
Junior Member
I am new here, Hi to all.

I've got some Openvz VPS from some hosting provider.

The time was out by 2 hours, even though I did set the proper timezone from inside the container.

I contacted the support.

The answer was they need to run some cronjob (that they trigger twice a day) to sync the VMs to the hardware node. Indeed this is supposed to be required in case the VM has been reboot or reinstalled according to the support.

Is that the way it has to be done ?

My undrerstanding was rather that in anycase the container time was locked to the node time that it receives from it no matter what (reboot or reinstall) ?

I don't get the reason why the node would require some cron task to put things back in sync.
To me the HN would just need proper time (i.e. ntpd)

Or am I missing something ?

Thanks in advance for any clarification.
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Container networking broken after upgrade to 2.6.18-308.8.2.el5.028stab101.1, stange kernel errors
Next Topic: Move containers private area to another directory.
Goto Forum:

Current Time: Fri Mar 24 10:26:18 GMT 2023

Total time taken to generate the page: 0.00811 seconds