You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/network/services
Kevin Darbyshire-Bryant aba3b1c6a3 dnsmasq: use SIGINT for dnssec time valid
Dnsmasq used SIGHUP to do too many things: 1) set dnssec time validation
enabled, 2) bump SOA zone serial, 3) clear dns cache, 4) reload hosts
files, 5) reload resolvers/servers files.

Many subsystems within LEDE can send SIGHUP to dnsmasq: 1) ntpd hotplug
(to indicate time is valid for dnssec) 2) odhcpd (to indicate a
new/removed host - typically DHCPv6 leases) 3) procd on interface state
changes 4) procd on system config state changes, 5) service reload.

If dnssec time validation is enabled before the system clock has been
set to a sensible time, name resolution will fail.  Because name
resolution fails, ntpd is unable to resolve time server names to
addresses, so is unable to set time.  Classic chicken/egg.

Since commits 23bba9cb33 (service reload) &
4f02285d8b (system config)  make it more
likely a SIGHUP will be sent for events other than 'ntpd has set time'
it is more likely that an errant 'name resolution is failing for
everything' situation will be encountered.

Fortunately the upstream dnsmasq people agree and have moved 'check
dnssec timestamp enable' from SIGHUP handler to SIGINT.

Backport the upstream patch to use SIGINT.
ntpd hotplug script updated to use SIGINT.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
7 years ago
..
authsae treewide: clean up and unify PKG_VERSION for git based downloads 8 years ago
dnsmasq dnsmasq: use SIGINT for dnssec time valid 7 years ago
dropbear dropbear: disable MD5 HMAC and switch to sha1 fingerprints 7 years ago
ead network/services/ead: drop Build/Prepare rule in favor of default one 8 years ago
hostapd hostapd: bump PKG_RELEASE after 802.11w changes 7 years ago
igmpproxy igmpproxy: remove firewall rules when service is stopped 7 years ago
ipset-dns ipset-dns: bump to git HEAD 7 years ago
lldpd merge: packages: update branding in core packages 7 years ago
odhcpd treewide: replace LEDE_GIT with PROJECT_GIT 7 years ago
omcproxy omcproxy: silence fw3 warnings 7 years ago
openvpn add PKG_CPE_ID ids to package and tools 7 years ago
openvpn-easy-rsa openvpn-easy-rsa: update to 3.0.1 7 years ago
ppp add PKG_CPE_ID ids to package and tools 7 years ago
relayd treewide: replace LEDE_GIT with PROJECT_GIT 7 years ago
samba36 merge: packages: update branding in core packages 7 years ago
uhttpd treewide: replace LEDE_GIT with PROJECT_GIT 7 years ago
umdns treewide: replace LEDE_GIT with PROJECT_GIT 7 years ago
wireguard wireguard: bump to 20171221 7 years ago