[arch-general] "hardware clock" on a VPS
Hi everybody, I was wondering if there's a means to specify, in rc.conf or somewhere else, that you never want to set your hardware clock. That's because, on Xen-based VPS, the hardware clock is handled on the hypervisor level, and /etc/cron.hourly/adjtime gives warnings such as: Cannot access the Hardware Clock via any known method. Use the --debug option to see the details of our search for an access method. An easy workaround is to delete this file but it will come back after each initscripts update. Does anybody know a solution to prevent that? -- catwell
On Fri, Aug 28, 2009 at 3:25 PM, Pierre Chapuis<catwell@archlinux.us> wrote:
Hi everybody,
I was wondering if there's a means to specify, in rc.conf or somewhere else, that you never want to set your hardware clock.
That's because, on Xen-based VPS, the hardware clock is handled on the hypervisor level, and /etc/cron.hourly/adjtime gives warnings such as:
Cannot access the Hardware Clock via any known method. Use the --debug option to see the details of our search for an access method.
An easy workaround is to delete this file but it will come back after each initscripts update.
Does anybody know a solution to prevent that?
Look at the newest initscripts package, I just fixed this. Setting the clock to anything except "localtime" or "UTC" will omit the hwclock calls now. http://projects.archlinux.org/?p=initscripts.git;a=commitdiff;h=2008846efe20... -Dan
Le Fri, 28 Aug 2009 15:26:43 -0500, Dan McGee <dpmcgee@gmail.com> a écrit :
Look at the newest initscripts package, I just fixed this. Setting the clock to anything except "localtime" or "UTC" will omit the hwclock calls now.
http://projects.archlinux.org/?p=initscripts.git;a=commitdiff;h=2008846efe20...
Oh great, fixed *before* the request. I guess nobody can top you in reactivity now! That was the update to *that* version of initscripts that made me send that mail, I just hadn't noticed that it fixed the problem since I still had HARDWARECLOCK="UTC" in my rc.conf. Thanks anyway! -- catwell
participants (2)
-
Dan McGee
-
Pierre Chapuis