OpenVZ Forum


Home » General » Support » Time inside container
Re: Time inside container [message #51242 is a reply to message #51066] Tue, 18 March 2014 08:38 Go to previous messageGo to previous message
dipps is currently offline  dipps
Messages: 22
Registered: May 2013
Location: Out in the scrub
Junior Member
This seems to be working for me:

HN: centos 6.4, 2.6.32-042stab078.28
Container: debian 7.4

Container has --capability sys_time:on and runs openntpd - I don't need all of xntpd. It's keeping in sync and the CT updates time on the HN.

The HN time was pretty close to start with, so to tell if it was working, I manually set it a minute wrong. 2 days later it was in sync again.

Paparaciz, interested why you think this is the wrong way to go. So far it does all I need.
 
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: Tue Sep 03 19:34:45 GMT 2024

Total time taken to generate the page: 0.04990 seconds