[arch-general] "hardware clock" on a VPS

Dan McGee dpmcgee at gmail.com
Fri Aug 28 20:26:43 UTC 2009


On Fri, Aug 28, 2009 at 3:25 PM, Pierre Chapuis<catwell at 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=2008846efe204b79d1c0f281d609a1f4b23431c8

-Dan


More information about the arch-general mailing list