installing nsd fails unless the `nsd` user is created first.
On a completely fresh Ubuntu 14.04 machine (from AWS's AMI):
$ sudo apt-get update $ sudo apt-get install nsd .... Unpacking nsd (4.0.1-1) ... Processing triggers for man-db (2.6.7.1-1) ... Processing triggers for ureadahead (0.100.0-16) ... Setting up nsd (4.0.1-1) ... start: Job failed to start invoke-rc.d: initscript nsd, action "start" failed. dpkg: error processing package nsd (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for ureadahead (0.100.0-16) ... Errors were encountered while processing: nsd E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo useradd nsd $ sudo dpkg --configure nsd Setting up nsd (4.0.1-1) ... nsd start/running, process 1887
installing nsd fails unless the `nsd` user is created first.
On a completely fresh Ubuntu 14.04 machine (from AWS's AMI):
$ sudo apt-get update
$ sudo apt-get install nsd
....
Unpacking nsd (4.0.1-1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up nsd (4.0.1-1) ...
start: Job failed to start
invoke-rc.d: initscript nsd, action "start" failed.
dpkg: error processing package nsd (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
nsd
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo useradd nsd
$ sudo dpkg --configure nsd
Setting up nsd (4.0.1-1) ...
nsd start/running, process 1887