Re: leap second

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



On 7/2/2012 2:06 PM, m.roth@xxxxxxxxx wrote:
>
> Dumb question, but I haven't followed this thread that closely - been busy
> at work - but why not
>   $ service ntp stop
>   $ ntpdate
>   $ service ntp start

Because that results in a call to adjtimex(2), which is also the syscall 
used by ntpd, which in turn is affected by the kernel bug.

Calling date(1) instead uses the clock_settime(2) syscall, which isn't 
affected.

One isn't implemented in terms of the other, for reasons that should be 
obvious from the manpages.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux