You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package dns-root-data has been updated in repository and the new root.ds file has tabs instead of spaces as in version u1.
The below condition now fails because the sed editor is looking for spaces and does not find them resulting in non standard startup options, hence resulting in error "Junk found on command line"
ROOT_DS="/usr/share/dns/root.ds"
if [ -f $ROOT_DS ]; then
DNSMASQ_OPTS="$DNSMASQ_OPTS sed -e s/". IN DS "/--trust-anchor=.,/ -e s/" "/,/g $ROOT_DS | tr '\n' ' '"
fi
the sed editor options need to change and one of the working set is this.
The package dns-root-data has been updated in repository and the new root.ds file has tabs instead of spaces as in version u1.
The below condition now fails because the sed editor is looking for spaces and does not find them resulting in non standard startup options, hence resulting in error "Junk found on command line"
ROOT_DS="/usr/share/dns/root.ds"
if [ -f $ROOT_DS ]; then
DNSMASQ_OPTS="$DNSMASQ_OPTS
sed -e s/". IN DS "/--trust-anchor=.,/ -e s/" "/,/g $ROOT_DS | tr '\n' ' '
"fi
the sed editor options need to change and one of the working set is this.
DNSMASQ_OPTS="$DNSMASQ_OPTS
sed -e s/".\t[0-9]*\tIN\tDS\t"/--trust-anchor=.,/ -e s/" "/,/g $ROOT_DS | tr '\n' ' '
"We can have another regex pattern which takes care of any white space, i am not good at regex hence someone will need to fix this.
The text was updated successfully, but these errors were encountered: