[Bug 1779621] Re: chrony exits unexpectedly
Andreas Hasenack
andreas at canonical.com
Wed Jul 4 19:43:34 UTC 2018
Well, that is what happens actually, at least in my vm.
When I don't have chrony installed, timesyncd is running:
root at bionic-chrony:~# systemctl status systemd-timesyncd chronyd
Unit chronyd.service could not be found.
● systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-07-04 19:40:37 UTC; 13s ago
Docs: man:systemd-timesyncd.service(8)
Main PID: 521 (systemd-timesyn)
Status: "Idle."
Tasks: 2 (limit: 1152)
CGroup: /system.slice/systemd-timesyncd.service
└─521 /lib/systemd/systemd-timesyncd
The moment I install the chrony package, timesyncd is stopped:
root at bionic-chrony:~# apt install chrony
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
chrony
0 upgraded, 1 newly installed, 0 to remove and 74 not upgraded.
Need to get 203 kB of archives.
...
root at bionic-chrony:~# systemctl status systemd-timesyncd
● systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Wed 2018-07-04 19:41:23 UTC; 21s ago
Docs: man:systemd-timesyncd.service(8)
Main PID: 521 (code=exited, status=0/SUCCESS)
Status: "Idle."
and chrony is now running:● chrony.service - chrony, an NTP client/server
Loaded: loaded (/lib/systemd/system/chrony.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-07-04 19:41:23 UTC; 37s ago
Docs: man:chronyd(8)
man:chronyc(1)
man:chrony.conf(5)
Main PID: 1371 (chronyd)
Tasks: 1 (limit: 1152)
CGroup: /system.slice/chrony.service
└─1371 /usr/sbin/chronyd
both are seen as enabled, but just chrony is running:
root at bionic-chrony:~# systemctl is-enabled systemd-timesyncd chrony
enabled
enabled
This state is kept after a reboot: timesyncd stopped, chrony running.
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to chrony in Ubuntu.
https://bugs.launchpad.net/bugs/1779621
Title:
chrony exits unexpectedly
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/1779621/+subscriptions
More information about the Ubuntu-server-bugs
mailing list