Bug#755722: ntpdate does not set the RTC when syncing the system clock

Ivan Baldo ibaldo at adinet.com.uy
Sun Jan 25 03:52:47 GMT 2015


     Hello.
     Kurt Roeckx wrote:
> ntp does not tell the kernel to do so.  The kernel does so when
> it the clock is synchronized.  That is when the status !=
> STA_UNSYNC.  But it is true that only ntpd sets this and not
> ntpdate.  I'm not sure it's a good idea to set this in something
> like ntpdate or since it might only runs once.  The current
> implementation only seems to be doing this after an adjtimex()
> call.
     I don't understand why it isn't a good idea to do it in ntpdate.
     Doesn't ntpdate get an accurate time at the moment it runs that 
should be more accurate than the RTC?
     Sorry, I am not an expert though I would like to know why that is a 
bad idea.
     Thanks for your info!
     Have a nice day!

-- 
Ivan Baldo - ibaldo at adinet.com.uy - http://ibaldo.codigolibre.net/
 From Montevideo, Uruguay, at the south of South America.
Freelance programmer and GNU/Linux system administrator, hire me!
Alternatives: ibaldo at codigolibre.net - http://go.to/ibaldo



More information about the Pkg-systemd-maintainers mailing list