Date: Sun, 8 Dec 2024 15:20:06 GMT From: Matthias Andree <mandree@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: f7c8a6233b51 - main - net/chrony: dns/dnsmasq: change rcfile ordering Message-ID: <202412081520.4B8FK6Zc029675@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mandree: URL: https://cgit.FreeBSD.org/ports/commit/?id=f7c8a6233b5131c572e42a5f4c5bfe8d823e5e01 commit f7c8a6233b5131c572e42a5f4c5bfe8d823e5e01 Author: Matthias Andree <mandree@FreeBSD.org> AuthorDate: 2024-12-08 15:15:46 +0000 Commit: Matthias Andree <mandree@FreeBSD.org> CommitDate: 2024-12-08 15:19:40 +0000 net/chrony: dns/dnsmasq: change rcfile ordering Make sure that these services start in proper order, and sooner such that chrony can synchronize time before other services need it. Note that there is a circular dependency or bootstrapping problem here in that the system time needs to be halfway correct if you require your time servers to be looked up through DNS with DNSSEC enabled because crypto usually needs correct clocks for expiration checks on signatures to work so the name service needs a correct time, and looking up the time server needs a working name service. So be sure you can bootstrap with a skewed time. Reported by: Lexi Winter PR: 282566 I am not MFHing this, it's too intrusive. --- dns/dnsmasq/Makefile | 2 +- dns/dnsmasq/files/dnsmasq.in | 4 ++-- net/chrony/Makefile | 1 + net/chrony/files/chronyd.in | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dns/dnsmasq/Makefile b/dns/dnsmasq/Makefile index e3726648b0ef..82c465cf42c6 100644 --- a/dns/dnsmasq/Makefile +++ b/dns/dnsmasq/Makefile @@ -1,7 +1,7 @@ PORTNAME= dnsmasq DISTVERSION= 2.90 # Leave the PORTREVISION in even if 0 to avoid accidental PORTEPOCH bumps: -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= dns MASTER_SITES= https://www.thekelleys.org.uk/dnsmasq/ \ diff --git a/dns/dnsmasq/files/dnsmasq.in b/dns/dnsmasq/files/dnsmasq.in index 1311df694b69..f2178bc8db1a 100644 --- a/dns/dnsmasq/files/dnsmasq.in +++ b/dns/dnsmasq/files/dnsmasq.in @@ -1,8 +1,8 @@ #!/bin/sh # PROVIDE: dnsmasq -# REQUIRE: SERVERS ldconfig -# BEFORE: DAEMON named +# REQUIRE: NETWORKING ldconfig ntpdate +# BEFORE: DAEMON chrony named # KEYWORD: shutdown # # Start before named so as not to break named_wait if named is diff --git a/net/chrony/Makefile b/net/chrony/Makefile index 0fc94be6e698..5cf16e4d51ff 100644 --- a/net/chrony/Makefile +++ b/net/chrony/Makefile @@ -1,5 +1,6 @@ PORTNAME= chrony DISTVERSION= 4.6.1 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://chrony-project.org/releases/ \ LOCAL/mandree diff --git a/net/chrony/files/chronyd.in b/net/chrony/files/chronyd.in index 79e370d3c4c1..1eb20c2b03ca 100644 --- a/net/chrony/files/chronyd.in +++ b/net/chrony/files/chronyd.in @@ -1,7 +1,7 @@ #!/bin/sh # PROVIDE: chronyd -# REQUIRE: DAEMON +# REQUIRE: SERVERS # KEYWORD: nojail shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412081520.4B8FK6Zc029675>