Re: [chrony-users] Let chrony prefer gps source but allow online sources |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Let chrony prefer gps source but allow online sources
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Thu, 7 Jan 2021 10:11:20 +0100
- 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=1610010685; 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=qhmd5NjXJwrkbzZuV+8xdVFc5y+CaR977Fp2S7StVbA=; b=Bus4qylIqzTgJFF/+fAfzCXbKOFy/1tq0B0cAV0gtZGRZWDXmNeNMmDRZq5hQhEaWC/gl/ dsUwOJZSi6LZDtc5dBSd680ZVwoPfPpD0Mh9Ocr0DrzekIBINodOJqpOguseU4b8TQImeQ ztZ+tqgLd6s6HUGNSTkQ72OuH8Uu79w=
On Wed, Jan 06, 2021 at 01:48:00PM +0000, Ferry Schoenmakers wrote:
> While restarting the machine with a gps fix lets chrony sync nicely with gps, it doesn't do so when it synced with online sources first. Chrony never 'switches' to gps, although it is set as preferred. Moreover, it seems that it doesn't even receive measurement from gps?
In your config there is no makestep directive. Is there a large
initial offset in the online-sources-first test? There might be an
issue with gpsd (I'm assuming you are using gpsd) that it stops
providing measurements when the clock is being adjusted. IIRC that was
the case at least with some old versions. I'd suggest to enable the
gpsd debug output and see if there is any difference between the two
tests.
--
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.