Package: opendnssec-signer, opendnssec-enforcer
Version: 1.0.0-2
Severity: normal

Hi,

In the init.d scripts of these packages there is a function
create_piddir(). The second line of this doesn't have a space separating
" and ]. This is a syntax error, giving rise to the error:

/etc/init.d/opendnssec-FOO: line 43: [: missing `]'

See here:

create_piddir() {
        PIDDIR="(dirname $PIDFILE)"
        [ -d "$PIDDIR"] && return 0
        mkdir -p "$PIDDIR" || return 1
        chown opendnssec:opendnssec "$PIDDIR" || return 1
}

Matthew W.S. Bell

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to