systemd-timesyncd unit still running after installation of ntp package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Incomplete
|
Undecided
|
Unassigned | ||
Zesty |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I recently installed the ntp package on a fairly vanilla installed-from-DVD Xenial system, and noticed that after the package installation both systemd-timesyncd and ntp were running:
# systemctl status ntp systemd-
ntp.service - LSB: Start NTP daemon
Loaded: loaded (/etc/init.d/ntp; bad; vendor preset: enabled)
Active: active (running) since Tue 2016-06-28 19:21:16 HDT; 6min ago
Docs: man:systemd-
CGroup: /system.
3364 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 112:118
[...log lines...]
systemd-
Loaded: loaded (/lib/systemd/
Drop-In: /lib/systemd/
Active: active (running) since Sun 2016-06-26 06:53:05 HDT; 2 days ago
Docs: man:systemd-
Main PID: 821 (systemd-timesyn)
Status: "Synchronized to time server 91.189.89.199:123 (ntp.ubuntu.com)."
CGroup: /system.
821 /lib/systemd/
[...log lines...]
I was able to do "systemctl stop systemd-
(Once the systemd-timesyncd service is stopped, it is prevented from starting again by the constraint in the disable-
Here are my current versions of the affected packages: Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ====-== ======= ======= ======= -====== ======- ======= ======= ======= ======= ======= ======= ======= dfsg-3ubuntu5 amd64 Network Time Protocol daemon and utility programs
# dpkg -l ntp systemd | cat
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii ntp 1:4.2.8p4+
ii systemd 229-4ubuntu6 amd64 system and service manager