This bug was fixed in the package nsd - 4.0.3-1ubuntu0.1
---
nsd (4.0.3-1ubuntu0.1) utopic-proposed; urgency=low
* Fix invalid user: nsd install error by moving auto-generated
debhelper code to the end of the postinst script. (LP: #1311886)
-- Evan Broder e...@ebroder.net
I confirm the problem is now fixed in utopic-proposed. The result is
below.
ubuntu@ip-10-0-0-30:~$ sudo apt-get install nsd/utopic-proposed
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '4.0.3-1ubuntu0.1'
Joshua: Did you mean the trusty or utopic version 'looks good'? The
latter still needs to be verified.
--
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
Looks good, thank you!
--
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:
** Tags removed: verification-needed
** Tags added: verification-needed-utopic
** Tags removed: verification-needed-utopic
** Tags added: trusty verification-needed
** Tags removed: verification-needed
** Tags added: verification-needed-utopic
--
You received this bug notification because you
** Tags added: verification-done-trusty
--
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:
This bug was fixed in the package nsd - 4.0.1-1ubuntu0.1
---
nsd (4.0.1-1ubuntu0.1) trusty-proposed; urgency=low
* Fix invalid user: nsd install error by moving auto-generated
debhelper code to the end of the postinst script. (LP: #1311886)
-- Evan Broder e...@ebroder.net
Thanks!
I've confirmed the problem is now fixed in trusty-proposed. The result
is below.
$ sudo apt-get install nsd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
nsd
0 upgraded, 1 newly installed, 0 to
** Branch linked: lp:ubuntu/trusty-proposed/nsd
** Branch linked: lp:ubuntu/utopic-proposed/nsd
--
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
Hello Joshua, or anyone else affected,
Accepted nsd into trusty-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/nsd/4.0.1-1ubuntu0.1 in
a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
I've attached fixes for the issue for Trusty and Utopic, the only two
affected releases. They're also building now in my PPA
(https://launchpad.net/~broder/+archive/ubuntu/ubuntu-tests). I'll
upload to -proposed once I can confirm the test packages work.
--
You received this bug notification
** Patch added: nsd_4.0.3-1ubuntu0.1.debdiff
https://bugs.launchpad.net/ubuntu/+source/nsd/+bug/1311886/+attachment/4295873/+files/nsd_4.0.3-1ubuntu0.1.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Description changed:
+ [IMPACT]
+
+ Currently, nsd fails to install. The postinst attempts to start the nsd
+ daemon before creating the nsd user, and fails when starting the daemon
+ fails.
+
+ The daemon is started by debhelper-generated snippets. The attached
+ fixes move the
** Also affects: nsd (Ubuntu Trusty)
Importance: Undecided
Status: New
** Also affects: nsd (Ubuntu Utopic)
Importance: Undecided
Status: New
** Changed in: nsd (Ubuntu Trusty)
Status: New = Confirmed
** Changed in: nsd (Ubuntu Utopic)
Status: New = Confirmed
** Changed in: nsd (Ubuntu Trusty)
Status: Confirmed = In Progress
** Changed in: nsd (Ubuntu Utopic)
Status: Confirmed = In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Debian bug #743396 addresses this issue.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743396
Upstream has fixed this in 4.1.0-2.
** Bug watch added: Debian Bug tracker #743396
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743396
--
You received this bug notification because you are
The attachment Start nsd after setup is done seems to be a patch. If
it isn't, please remove the patch flag from the attachment, remove the
patch tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
Sorry, I removed my patch.
As Hirotaka pointed out, the upstream fix seems what we want. Perfect.
** Patch removed: Start nsd after setup is done
https://bugs.launchpad.net/ubuntu/+source/nsd/+bug/1311886/+attachment/4269535/+files/fix-postinst-order.patch
** Tags removed: patch
--
You
Just in case when the upstream fix won't come down to trusty so quickly,
I resubmit this patch.
** Patch added: Use upstream patch for Debian bug #743396
https://bugs.launchpad.net/ubuntu/+source/nsd/+bug/1311886/+attachment/4269550/+files/move-debhelper-tag-at-end.patch
--
You received
I create the easy-fix patch, which rado_p suggested.
The step 2. dpkg attempts to start the daemon. is automatically inserted into
the line with the word #DEBHELPER# by debhelper.
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/nsd/trusty-proposed/view/head:/debian/nsd.postinst#L4
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
Indeed.
What I've found is that the user add function to bring the user/group
nsd into existence comes AFTER (WTF?!?!) the system tries to start the
daemon. What I tried doing was using another unprivileged user (e.g.
daemon) so the daemon starts when I do the dpkg --configure -a or
apt-get -f
Is there any update on this issue?
It's getting quite old..
--
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:
I don't understand the easy fix. Can you elaborate how I can install
this from within an ubuntu server without it failing?
--
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
I think rado_p was describing how the Ubuntu maintainers can fix the
problem.
As a user, just run sudo useradd nsd before trying to install the
package (as I tried to show at the top not very clearly).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Got it, thanks! I am slow to catch on :)
--
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:
It's an easy fix, just move the autogenerated-by-dh_installinit section
of postinst to the end of the file.
--
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
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: nsd (Ubuntu)
Status: New = Confirmed
--
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
28 matches
Mail list logo