I am trying to avoid having to install NTP in every container, so I
came up with following idea.

Main server cron job

        * 0 *  * * /sbin/hwclock -w

Each container has following cron job

        10 0 *  * * /sbin/hwclock -s

However, the container can't access /dev/rtc and I am guessing that
has something to do with my cgroup config line:

       lxc.cgroup.devices.allow = c 254:0 rwm # rtc

Anyway I can fix this? Or get the same result some other way?

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to