Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Feb 2016 18:14:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 206887] Unbound 1.5.7 has syntax errors in its support scripts.
Message-ID:  <bug-206887-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206887

            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@FreeBSD.org
          Reporter: peter@FreeBSD.org

/usr/sbin/unbound-control-setup changed a=20
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206887-8>