Re: systemctl start seems to hang with no status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

On Fri, Oct 22, 2021 at 01:28:28PM +0200, Ulrich Windl <Ulrich.Windl@xxxxxxxxxxxxxxxxxxxx> wrote:
> Interestingly I wouldn't expect "Reached target System Time Synchronized.".

The deps are a bit backwards (but not the job ordering):

ntp-wait.service
	Wants=time-sync.target
	Before=time-sync.target

I.e. the job for time-sync.target is pulled in but it doesn't depend on
anything (the target itself has no Wants=) so it just succeeds after
ntp-wait.service job finishes (fails).

> I don't understand: Was the missing ntp.conf file blocking the service for 11
> minutes?

It's the RestartSec=11min in the ntpd.service configuration that delayed
the restart attempt.

Hopefully that explains the behavior you saw.

Michal



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux