Package: nsd
Version: 4.1.0-1
Severity: normal
Dear Maintainer,
I install jessie. And nsd add.
Nsd installation fail when nsd user isn't exist.
Should move "adduser ... nsd" to preinst script ?
----------------------------------------------------------------
Script started on Mon Oct 27 01:34:33 2014
root@jessie:~# aptitude search '^nsd$'
p nsd - authoritative domain name server
root@jessie:~# id nsd
id: nsd: no such user
root@jessie:~# aptitude install nsd
The following NEW packages will be installed:
nsd
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/765 kB of archives. After unpacking 2165 kB will be used.
Preconfiguring packages ...
Selecting previously unselected package nsd.
(Reading database ... 100%
(Reading database ... 42653 files and directories currently installed.)
Preparing to unpack .../archives/nsd_4.1.0-1_amd64.deb ...
Unpacking nsd (4.1.0-1) ...
Processing triggers for man-db (2.7.0.2-2) ...
Setting up nsd (4.1.0-1) ...
Job for nsd.service failed. See 'systemctl status nsd.service' and 'journalctl
-xn' for details.
invoke-rc.d: initscript nsd, action "start" failed.
dpkg: error processing package nsd (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
nsd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Setting up nsd (4.1.0-1) ...
Job for nsd.service failed. See 'systemctl status nsd.service' and 'journalctl
-xn' for details.
invoke-rc.d: initscript nsd, action "start" failed.
dpkg: error processing package nsd (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
nsd
root@jessie:~# aptitude purge nsd
The following packages will be REMOVED:
nsd{p}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 2165 kB will be freed.
Do you want to continue? [Y/n/?]
Removing nsd (4.1.0-1) ...
Purging configuration files for nsd (4.1.0-1) ...
Processing triggers for man-db (2.7.0.2-2) ...
root@jessie:~# adduser --quiet --system --group --no-create-home --home
/var/lib/nsd nsd
root@jessie:~# id nsd
uid=111(nsd) gid=118(nsd) groups=118(nsd)
root@jessie:~# aptitude install nsd
The following NEW packages will be installed:
nsd
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/765 kB of archives. After unpacking 2165 kB will be used.
Preconfiguring packages ...
Selecting previously unselected package nsd.
(Reading database ... 100%
(Reading database ... 42653 files and directories currently installed.)
Preparing to unpack .../archives/nsd_4.1.0-1_amd64.deb ...
Unpacking nsd (4.1.0-1) ...
Processing triggers for man-db (2.7.0.2-2) ...
Setting up nsd (4.1.0-1) ...
root@jessie:~# exit
Script done on Mon Oct 27 01:38:46 2014
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]