[Bug 206887] Unbound 1.5.7 has syntax errors in its support scripts.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 3 18:14:29 UTC 2016


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: freebsd-bugs at FreeBSD.org
          Reporter: peter at FreeBSD.org

/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.


More information about the freebsd-bugs mailing list