[chrony-users] How to Delay Chrony Start Until After PPS Device Attached |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx, Joshua Quesenberry <EngnFrc@xxxxxxxxx>
- Subject: [chrony-users] How to Delay Chrony Start Until After PPS Device Attached
- From: Joshua Quesenberry <engnfrc@xxxxxxxxx>
- Date: Fri, 8 Dec 2023 21:59:32 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702090783; x=1702695583; darn=chrony.tuxfamily.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=YoaJ0gS3kKIyuaZBIj6U0gDUxJgaqTGp6xpFCTv9V8Y=; b=RELxokDrqVLjR+Cr/4TcaZ0p4lCo/7MxKzaDhuWSkZeHYd3vzmYCKgqqTBxVxnDXvF WsVhB6i+PiunVHXOFSRyPy4f2CSszsZg+Dni9ybd1teygx7Zmz6h3y8zJiPdSdmL7wy2 NDGPDZ1YUDf5x/pl7PKkw/u04fL+m73U8k8SkLRyA/ILrSU0yGWpNA/4a71P7I3++86e /yhcaDLVOest/YV3lCU4a7Nceu3sdmS9FhKxcjhxAamfnstFxW3L7Gk325H1urD5Rjtj DrrMBpBWiNB3a/4geT6W4Z8gM/X0JwBKZUMC99dfN8Frpaw+eSexS4vpmTALkb1WIxmq 85+Q==
Good Evening,
I'm pulling a 1PPS signal into my system over a USB to Serial device's
DCD pin; I don't have a typical RS232 port available. In order to fire
up the PPS line discipline on startup and to create a relably named
symlink to the created /dev/pps* (of which there are multiple
generated by PTP also) I'm using a combination of UDEV rules and a
pps_setup@.service service file. In my chrony.conf I'm giving it an
entry that looks for the PPS signal at the reliably named symlink (eg.
/dev/my_pps). The problem I'm running into now is that this device
isn't ready on startup before Chrony is started and therefore Chrony
is choking, so my hope is that some of you all have run into a similar
setup before and have recommendations on how to proceed? Is it
possible for me to set a couple second delay in starting Chrony to
give the device time to be available? Is there a way to make Chrony
not die and rather keep retrying to connect while continuing to use
other time sources in the interim? This would be ideal in case for
some reason the device never became available, such as being
accidentally unplugged.
Thanks!
Josh Q
--
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.