Bug#858506: newer version of dns-root-data prevents dnsmasq from starting

2017-06-01 Thread Dr. Johann Pfefferl
Package: dnsmasq Version: 2.76-5 Followup-For: Bug #858506 Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? A format change in a file from package dns-root-data forces an error in dnsmasq startup * What

Bug#858506: newer version of dns-root-data prevents dnsmasq from starting

2017-04-30 Thread Thilo Six
Hello Kacper Berent schrieb/wrote: > Package: dnsmasq > Version: 2.76-5 > Followup-For: Bug #858506 > > Using awk seems to be more readable and it does not depend of whitespace > > DNSMASQ_OPTS="$DNSMASQ_OPTS `awk -- '{ printf " > --trust-anchor=.,%d,%d,%d,%s", $5, $6, $7, $8 }' $ROOT_DS`" You

Bug#858506: newer version of dns-root-data prevents dnsmasq from starting

2017-04-22 Thread Kacper Berent
Package: dnsmasq Version: 2.76-5 Followup-For: Bug #858506 Using awk seems to be more readable and it does not depend of whitespace DNSMASQ_OPTS="$DNSMASQ_OPTS `awk -- '{ printf " --trust-anchor=.,%d,%d,%d,%s", $5, $6, $7, $8 }' $ROOT_DS`"

Bug#858506: newer version of dns-root-data prevents dnsmasq from starting

2017-03-25 Thread Craig Small
On Sat, Mar 25, 2017 at 11:31 PM Thilo Six wrote: > Does '/usr/share/dnsmasq-base/trust-anchors.conf' also need an update? > The dnsmasq init script only uses root.ds so that won't need an update. dnsmasq starts, the family can get to the Internet so the rioting in the street has stopped, for no

Bug#858506: newer version of dns-root-data prevents dnsmasq from starting

2017-03-25 Thread Thilo Six
Hello Craig, Craig Small schrieb/wrote: > The problem is the format of that root.ds has changed. My work-around > was to change line 115 of /etc/init.d/dnsmasq > >DNSMASQ_OPTS="$DNSMASQ_OPTS `sed -e > s/".\t[0-9]*\tIN\tDS\t"/--trust-anchor=.,/ -e s/" "/,/g $ROOT_DS | tr '\n' ' > '`" Thanks

Bug#858506: newer version of dns-root-data prevents dnsmasq from starting

2017-03-25 Thread Craig Small
Package: dnsmasq Version: 2.76-5 Followup-For: Bug #858506 I agree, there is something in that dns-root-data that mucks it up + ROOT_DS=/usr/share/dns/root.ds + [ -f /usr/share/dns/root.ds ] + sed -e s/. IN DS /--trust-anchor=.,/ -e s/ /,/g /usr/share/dns/root.ds + tr \n + DNSMASQ_OPTS= --local