https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206887

            Bug ID: 206887
           Summary: Unbound 1.5.7 has syntax errors in its support
                    scripts.
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

/usr/sbin/unbound-control-setup changed a 
cat << EOF > request.cfg
.. things ...
EOF
construct into
echo "thing1\n" > request.cfg
echo "thing2\n" >> request.cfg
...

The problem is, this is echo, not printf.  This causes openssl to reject the
request.cfg file.

Observe with "/usr/sbin/unbound-control-setup -d /tmp"  You will be rewarded
with an openssl syntax error.  Remove the "\n" from both blocks of echo and
it'll work.

This breaks the freebsd cluster node bootstrap process.

I note that the error appears to have been MFC'ed into 10-stable as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to