To over-simply demonstrate the flow of what I'm seeing and how my
actions allow it to work, consider this:

In theory, here is what happens given the .deb the way it is now:
1.  dpkg unpacks the .deb.
2.  dpkg attempts to start the daemon.
3.  dpkg adds the nsd user and group if it doesn't exist already.
4.  dpkg reports to the installed list that nsd installed successfully.

Since nsd assumes that the default user to start as is "nsd" and if this
is a first-time install, the user "nsd" will not exist.  As such, step
#2 will fail, keeping the remaining steps from continuing.

If steps 2 and 3 are reversed, a first-time install of nsd will actually
succeed.

To work around this problem, once the files are unpacked, I back up the
main config file, tell nsd to start as user "daemon" via the config
file, then tell dpkg to configure the package.  Once done, I restore the
original config file, then restart nsd.

Any timeline on when this will be fixed?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1311886

Title:
  nsd fails to install

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nsd/+bug/1311886/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to