openwrt/package/network/services
Henrique de Moraes Holschuh c2efc973d5 dnsmasq: fix dnssec+ntp chicken-and-egg workaround (FS#2574)
Fix the test for an enabled sysntp initscript in dnsmasq.init, and get
rid of "test -o" while at it.

Issue reproduced on openwrt-19.07 with the help of pool.ntp.br and an
RTC-less ath79 router.  dnssec-no-timecheck would be clearly missing
from /var/etc/dnsmasq.conf.* while the router was still a few days in
the past due to non-working DNSSEC + DNS-based NTP server config.

The fix was tested with the router in the "DNSSEC broken state": it
properly started dnsmasq in dnssec-no-timecheck mode, and eventually ntp
was able to resolve the server name to an IP address, and set the system
time.  DNSSEC was then enabled by SIGINT through the ntp hotplug hook,
as expected.

A missing system.ntp.enabled UCI node is required for the bug to show
up.  The reasons for why it would be missing in the first place were not
investigated.

Signed-off-by: Henrique de Moraes Holschuh <henrique@nic.br>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
(cherry picked from commit 556b8581a1)
2020-04-25 20:51:46 +02:00
..
dnsmasq dnsmasq: fix dnssec+ntp chicken-and-egg workaround (FS#2574) 2020-04-25 20:51:46 +02:00
dropbear dropbear: allow build without dbclient 2019-04-18 22:34:19 +02:00
ead
hostapd hostapd: remove erroneous $(space) redefinition 2020-02-08 11:46:27 +01:00
igmpproxy
ipset-dns
lldpd lldpd: add option to edit hostname 2019-05-11 16:37:11 +02:00
odhcpd odhcpd: optimize syslog priority values 2019-12-16 21:17:23 +01:00
omcproxy omcproxy: define configuration file 2019-02-27 10:26:14 +01:00
openvpn build: include BUILD_VARIANT in PKG_BUILD_DIR 2019-09-04 13:35:17 +02:00
openvpn-easy-rsa openvpn-easy-rsa: update to 3.0.4 2018-07-30 10:43:38 +02:00
ppp ppp: backport security fixes 2020-02-26 16:40:43 +01:00
relayd relayd: bump to version 2020-04-20 2020-04-20 11:34:43 +01:00
samba36 samba36: allow build with no ipv6 support 2019-02-17 19:22:39 +01:00
uhttpd uhttpd: update to latest Git HEAD 2020-02-26 16:11:56 +01:00
umdns umdns: update to version 2020-04-20 2020-04-20 11:34:13 +01:00
wireguard wireguard: bump to 0.0.20190702 2019-09-04 13:22:54 +02:00