1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

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.
This commit is contained in:
Matthias Andree 2024-12-08 16:15:46 +01:00
parent 842aa9df3f
commit f7c8a6233b
4 changed files with 5 additions and 4 deletions

View File

@ -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/ \

View File

@ -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

View File

@ -1,5 +1,6 @@
PORTNAME= chrony
DISTVERSION= 4.6.1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= https://chrony-project.org/releases/ \
LOCAL/mandree

View File

@ -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