Package: nsd
Version: 4.1.0-3

After installing nsd inside a freshly created and updated jessie lxc
container, running the nsd-control-setup command fails because of a
missing binary.


I created the container with

root@host:/# lxc-create -n "nsd" -t "debian" -- -r "jessie"

After setting up the network in the lxc config file, I started the
container, updated it (apt-get update and dist-upgrade) and installed
the nsd package (apt-get install nsd).

The output when then running the aforementioned command:

root@nsd:/# nsd-control-setup
setup in directory /etc/nsd
generating nsd_server.key
/usr/sbin/nsd-control-setup: 98: /usr/sbin/nsd-control-setup: openssl:
not found
/usr/sbin/nsd-control-setup fatal error: could not genrsa
root@nsd:/#

This is line 98 from /usr/sbin/nsd-control-setup:

openssl genrsa -out $CTL_BASE.key $BITS || error "could not genrsa"

As far as I can tell, the openssl binary is part of the openssl package
[0], and I would have expected to find it as some dependency of the nsd
package, may it be suggested, recommend or enhances. The nsd package is
not 100% functional without it. I couldn't find it as a transitive
dependency either.

I didn't test it myself, but it is highly probable that the nsd package
in testing and unstable have the same issue.


The host is running up-to-date jessie with kernel "Linux host
3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u5 (2015-10-09) x86_64
GNU/Linux" with lxc "1:1.0.6-6+deb8u1".


[0] https://packages.debian.org/jessie/amd64/openssl/filelist

Reply via email to