nsd3 fails to install on lucid

Bug #534643 reported by Teun Vink
76
This bug affects 10 people
Affects Status Importance Assigned to Milestone
nsd3 (Ubuntu)
Fix Released
High
Unassigned
Lucid
Fix Released
High
Unassigned

Bug Description

Binary package hint: nsd3

nsd3 fails to install on lucid:
[21:35|<email address hidden> ~]
# apt-get install nsd3
Reading package lists... Done
Building dependency tree
Reading state information... Done
nsd3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up nsd3 (3.2.4-1) ...
Could not open /etc/nsd3/nsd.conf: No such file or directory
Could not open /etc/nsd3/nsd.conf: No such file or directory
 * Building nsd3 zones... Could not open /etc/nsd3/nsd.conf: No such file or directory
invoke-rc.d: initscript nsd3, action "start" failed.
dpkg: error processing nsd3 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 nsd3
E: Sub-process /usr/bin/dpkg returned an error code (1)

[21:35|<email address hidden> ~]
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu lucid (development branch)"

Since only /etc3/nsd/nsd.conf.sample is provided (and no real config file), nsd shouldn't be started when installing, since this will fail due to missing config files. Also, the nsd.conf.sample file is owned by root, while it should be owned by user nsd.

tags: added: kernel-series-unknown
tags: removed: kernel-series-unknown
Revision history for this message
Samuel J. Muller (sam-l33) wrote :

Bug already seen here :

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570160

Workaround from Debian case is working fine (tags 570160 patch).

Marty Labatt (martylab)
Changed in nsd3 (Ubuntu):
status: New → Confirmed
Revision history for this message
Tim Kuijsten (kuijsten) wrote :

This does not look like a duplicate of #705889, but isn't this related to it?

Revision history for this message
Simon Déziel (sdeziel) wrote :

A simple workaround it to do this /before/ installing nsd3 :

mkdir /etc/nsd3
touch /etc/nsd3/nsd.conf

Revision history for this message
Simon Déziel (sdeziel) wrote :

Here is a debdiff for lucid-proposed. The fix is exactly the same as what Debian applied to close 570160.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "nsd3-lp534643.debdiff" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Evan Broder (broder) wrote :

Marking as fix released for the current devel release.

Changed in nsd3 (Ubuntu Lucid):
status: New → Confirmed
Changed in nsd3 (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Evan Broder (broder) wrote :

I've uploaded the patch to lucid-proposed with a few changes. Most importantly, I reverted your changes to suppress Lintian errors; SRUs are supposed to make the minimal change needed to fix the bug.

Somebody from the Ubuntu SRU team should be around in a few days to accept the upload and begin the verification process.

Revision history for this message
Simon Déziel (sdeziel) wrote :

Thanks Evan for fixing the debdiff and make it more suitable for a SRU, I'll know for next time.

Revision history for this message
Clint Byrum (clint-fewbar) wrote : Please test proposed package

Hello Teun, or anyone else affected,

Accepted nsd3 into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in nsd3 (Ubuntu Lucid):
status: Confirmed → Fix Committed
tags: added: verification-needed
Changed in nsd3 (Ubuntu):
importance: Undecided → High
Changed in nsd3 (Ubuntu Lucid):
importance: Undecided → High
Revision history for this message
Simon Déziel (sdeziel) wrote :

Thanks Clint for your quick support. I can confirm that the fix works on my newly created VM.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nsd3 - 3.2.4-1ubuntu0.1

---------------
nsd3 (3.2.4-1ubuntu0.1) lucid-proposed; urgency=low

  * Apply patch from Debian bug #570160 to fix installation failure caused
    by missing /etc/nsd3/nsd.conf. (LP: #534643)
 -- Simon Deziel <email address hidden> Sun, 11 Dec 2011 23:34:47 -0800

Changed in nsd3 (Ubuntu Lucid):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.