[CentOS] leap second
Warren Young
warren at etr-usa.comMon Jul 2 22:58:23 UTC 2012
- Previous message: [CentOS] leap second
- Next message: [CentOS] leap second
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 7/2/2012 2:06 PM, m.roth at 5-cent.us 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.
- Previous message: [CentOS] leap second
- Next message: [CentOS] leap second
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list