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
Henrique de Moraes Holschuh 556b8581a1 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]
4 years ago
..
base-files base-files: convert leading spaces to tabs in functions.sh 4 years ago
boot x86/grub2: move grub2 image creation to package 4 years ago
devel strace: update to version 5.5 4 years ago
firmware layerscape: resurrect support for FRDM-LS1012A 4 years ago
kernel bcm27xx-gpu-fw: update to latest version 4 years ago
libs uclient: update mirror hash 4 years ago
network dnsmasq: fix dnssec+ntp chicken-and-egg workaround (FS#2574) 4 years ago
system rpcd: fix respawn settings 4 years ago
utils bcm27xx-userland: update to latest version 4 years ago
Makefile packages: apply usign padding workarounds to package indexes if needed 5 years ago