Skip to content

unbound-control-setup hangs while testing for openssl presence starting from version 1.21.0 #1126

@psumbera

Description

@psumbera
# bash -x unbound-control-setup
+ DESTDIR=/etc/unbound
+ SERVERNAME=unbound
+ CLIENTNAME=unbound-control
+ DAYS=7200
+ BITS=3072
+ HASH=sha256
+ SVR_BASE=unbound_server
+ CTL_BASE=unbound_control
+ RECREATE=0
+ umask 0027
+ set -eu
+ OPTIND=1
+ getopts d:hr arg
+ shift 0
+ openssl
^C

Changing:
if ! openssl >/dev/null 2>&1; then
to
if ! openssl </dev/null >/dev/null 2>&1; then
resolves the issue.

Tested on Solaris.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions