Re: "hardware clock" on a VPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux