systemd: ntpdate is started too soon (before the network)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntp (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Here is what I see in journalctl: ntpdate cannot do DNS resolution because NetworkManager has not finished configuring the network interface.
Apr 21 22:01:13 xeelee ntpdate[1563]: Can't find host 0.ubuntu.
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee ntpdate[1563]: Can't find host 1.ubuntu.
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee smartd[1495]: Device: /dev/sdc [USB JMicron], no ATA CHECK POWER STATUS support, ignoring -n Directive
Apr 21 22:01:13 xeelee ntpdate[1563]: Can't find host 2.ubuntu.
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee smartd[1495]: Device: /dev/sdc [USB JMicron], is SMART capable. Adding to "monitor" list.
Apr 21 22:01:13 xeelee ntpdate[1563]: Can't find host 3.ubuntu.
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee smartd[1495]: Device: /dev/sdc [USB JMicron], state read from /var/lib/
Apr 21 22:01:13 xeelee ntpdate[1563]: Can't find host ntp.ubuntu.com: Name or service not known (-2)
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee smartd[1495]: Device: /dev/sdd [USB JMicron], opened
Apr 21 22:01:13 xeelee ntpdate[1563]: no servers can be used, exiting
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee smartd[1495]: Device: /dev/sdd [USB JMicron], WDC WD40EZRX-00SPEB0, S/N:WD-
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee smartd[1495]: Device: /dev/sdd [USB JMicron], found in smartd database: Western Digital Caviar Green (AF, SATA
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee NetworkManager[
Apr 21 22:01:13 xeelee systemd[1]: Stopped LSB: Start NTP daemon.
Apr 21 22:01:13 xeelee systemd[1]: Started Authenticate and Authorize Users to Run Privileged Tasks.
Apr 21 22:01:13 xeelee systemd[1]: Started Accounts Service.
Apr 21 22:01:13 xeelee systemd[1]: Mounted Arbitrary Executable File Formats File System.
Apr 21 22:01:13 xeelee systemd[1]: Started Enable support for additional executable binary formats.
Apr 21 22:01:13 xeelee NetworkManager[
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: ntpdate 1:4.2.6.
ProcVersionSign
Uname: Linux 4.0.0-040000-
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: KDE
Date: Wed Apr 22 14:09:08 2015
SourcePackage: ntp
UpgradeStatus: Upgraded to vivid on 2015-04-20 (1 days ago)
Changed in ntp (Ubuntu): | |
importance: | Undecided → High |
Status changed to 'Confirmed' because the bug affects multiple users.