| Summary: | ntpd does not set the date at start up | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Bernard MAUDRY <ramaspaceship> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | guillomovitch, marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | ntp-4.2.6p3-7.mga2.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Bernard MAUDRY
2011-10-07 00:02:08 CEST
"ntpdate 0.fr.pool.ntp.org" sets the correct date once ntpd is stopped. From the description of ntp: Ntp includes ntpdate (a program for retrieving the date and time from remote machines via a network) and ntpd (a daemon which continuously adjusts system time). @ guillomovitch Should ntpdate start while booting just like ntpd? CC:
(none) =>
guillomovitch, marja11 ntpd set the date, but only if the difference is less than a given threshold (1000s). Otherwise, either -g option, or ntpdate program has to be used. Deciding if ntpdate, ntpd, or any other service has to be run at boot time is a user decision, not a packaging issue. On end-users machines, especially on laptops, running ntpd is just overkill. (In reply to comment #3) > ntpd set the date, but only if the difference is less than a given threshold > (1000s). Otherwise, either -g option, or ntpdate program has to be used. > > Deciding if ntpdate, ntpd, or any other service has to be run at boot time is a > user decision, not a packaging issue. On end-users machines, especially on > laptops, running ntpd is just overkill. @ Guillaume Thanks for explaining. @ Bernard, How big was the difference between your system (date + time) and ntp server (date + time)? The difference was 4 hours due to a problem in the handling of the hardwa The difference was 4 hours due to a problem in the handling of the hardware clock by systemd now fixed. I resimulate this time difference, and ntpd didn't set the correct date at start. (In reply to comment #6) > The difference was 4 hours due to a problem in the handling of the hardware > clock by systemd now fixed. Thanks for replying, Bernard. 4 hrs = 14400s, but for ntpd to set the date, the difference should be *less* than 1000s as stated by Guillaume in comment 3 So, although annoying, this isn't a bug Status:
NEW =>
RESOLVED |