[Removing Paul from Cc]

What does “journalctl -u chrony” return when that happens?


dilinger@e7450:~$ sudo journalctl -u chrony
-- No entries --

Not surprising as chrony start-up has been strangely canceled:
Dec 02 09:07:41 e7450 systemd[1]: chrony.service: Job chrony.service/start 
finished, result=canceled

What I would like you to try is to boot with the
“systemd.log_level=debug” kernel parameter and attach the output of
“journalctl -b” and a dump of “systemctl”.

I've attached the two dumps.  I'm not sure what's up with systemd not
seeing chronyd as executable
(ConditionFileIsExecutable=!/usr/sbin/chronyd failed)..

dilinger@e7450:~$ ls -l /usr/sbin/chronyd
-rwxr-xr-x 1 root root 215408 Jul 22 08:24 /usr/sbin/chronyd

Well, systemd-timesyncd checks if “/usr/sbin/chronyd” (among other {S}NTP implementations) exists and *is* executable before starting, if that’s the case it won’t start. So everything is normal here!

It may be worth to see if chrony from testing/unstable behaves the
same way.

Also, I tried to reproduce this issue on a fresh Stretch install but
failed. Could you give more details on your system (cpu arch, desktop
environment, network manager, Debian stable version, …)?

The machine is a Dell Latitude E7450 (i5-5300U with 8GB of ram).  It
was originally installed with jessie (iirc), and dist-upgraded to
stretch.  No outside packages installed, other than a few backports:

ii  gplaycli                                  0.2.10-1~bpo9+1                   
all          Google Play downloader command line interface
ii  linux-image-4.13.0-0.bpo.1-amd64          4.13.13-1~bpo9+1                  
amd64        Linux 4.13 for 64-bit PCs
ii  linux-image-amd64                         4.13+86~bpo9+1                    
amd64        Linux for 64-bit PCs (meta-package)
ii  torbrowser-launcher                       0.2.8-5~bpo9+1                    
amd64        helps download and run the Tor Browser Bundle

I'm using Cinnamon with network-manager-gnome.  I've also attached
a dump of 'dpkg -l'.  I've got apt configured with the following:
APT::Install-Suggests "0";
APT::Install-Recommends "0";

Awesome, thanks a lot! Unfortunately I have yet to set a VM duplicating your environment as I have to deal with IRL events at the moment.

However there is something I find suspecious in that the networking stuff isn’t initialized before chronyd starts despite that the provided chrony unit file contains:
After=network.target

So would you please try to override the whole unit file?
#cp /lib/systemd/system/chrony.service /etc/systemd/system/
And remove the “After=network.target” line in /etc/systemd/system/chrony.service.
Reboot and report back!

Cheers,
Vincent

Attachment: signature.asc
Description: PGP signature

Reply via email to