Re: migration: ntpdate to rdate
Martin-Éric Racine <[email protected]> Fri, 6 Feb 2026 12:36:57 +0200
| Newsgroups | gmane.linux.debian.ports.hurd |
|---|---|
| Message-ID | <CAPZXPQd3hmRvtFgJv6szyswmDT_foH=qvvM77FTmqMTv58UD4A@mail.gmail.com> |
to 5.2.2026 klo 17.58 Martin-Éric Racine ([email protected]) kirjoitti: > > to 5.2.2026 klo 17.54 Samuel Thibault ([email protected]) kirjoitti: > > > > Martin-Éric Racine, le jeu. 05 févr. 2026 17:21:40 +0200, a ecrit: > > > +case "$METHOD" in > > > +dhcp | static) > > > + rdate -n $RDATEOPTIONS $NTPSERVER > > > + ;; > > > +*) > > > > I'm wondering if we shouldn't rather use a blacklist rather than a > > whitelist. There are a lot of methods that make sense: bootp, tunnel, > > ppp, etc. > > > > ntpsec's script just excludes the loopback and none methods. > > That could also work (exit 0 if loopback or none, otherwise fetch > time), although I'd be tempted to exclude manual as well. Done. https://mentors.debian.net/debian/pool/main/r/rdate/rdate_1.11-3.1.dsc Martin-Éric