Re: [chrony-users] chronyd.service slow start on boot? |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] chronyd.service slow start on boot?
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 11 Oct 2021 14:13:07 +0200
- Authentication-results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mlichvar@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1633954399; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xv69s/lb4FHrOQCYSnXu7P5hQ/AtM1VAdiWja1GUmYY=; b=U7qumH2mT9/C8swVZibYETMDTpUXUCmeWbsDoZB3cybeKPs2ZqgXTCeBjk7HjalZvhGsOR POSBYcdiLJ4o7Tjg6HMORjTfERQbuI7Nevmo3RY4iWGvRsx1Onw21D1pE+WYIzoGUrSm98 BhSzkUux8wLcClGakLdD2ejvudg+qFQ=
On Mon, Oct 11, 2021 at 11:56:50AM -0000, a58bf2b4-3c17-40c6-8709-d1b882bdbfb3@xxxxxxxxx wrote:
> > That is expected. With the -s option chronyd reads the RTC 8x on start
> > to make the initial correction of the system clock. If you don't need
> > that (e.g. you have a network connection most of the time), you can
> > remove the option.
>
> Thanks for the explanation.
>
> This is more of a systemd question, but as the unit provided in Arch is of Type=forking, I'm assuming the longer boot times are irrelevant for the rest of the boot process. Quoting from systemd manual:
I'm no systemd expert. I think it depends on what other services are
enabled and their dependencies. If there is nothing else taking so
long to start as chronyd -s, the multi-user target needs to wait for
chronyd and it will be reported as being in the critical chain.
Is the -s option enabled by default on Arch or have you enabled it
yourself?
--
Miroslav Lichvar
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.