[SRU] [can-not-install] postinst failure

Bug #90932 reported by Michael Vogt
8
Affects Status Importance Assigned to Milestone
ldap2dns (Debian)
Fix Released
Unknown
ldap2dns (Ubuntu)
Fix Released
Medium
Emmet Hikory
Declined for Dapper by Emmet Hikory
Edgy
Fix Released
Medium
Unassigned
Feisty
Fix Released
Medium
Unassigned
Gutsy
Fix Released
Medium
Unassigned
Hardy
Fix Released
Medium
Emmet Hikory

Bug Description

Binary package hint: ldap2dns

Found while doing a install test:

Setting up ldap2dns (0.3.1-3) ...
/

ldap2dns has been installed.

To set up services, please see the documentation at:
http://ldap2dns.tiscover.com/ or
/usr/share/doc/ldap2dns/README.txt.gz

To Configure ldap2dns for use with djbdns:
Run ldap2tinydns-conf in your tinydns directory, something like:
root@host:/var/tinydns# ldap2tinydns-conf

Then tell svscan about the new service:
ln -s /var/tinydns/ldap2tinydns /var/lib/svscan

dpkg: error processing ldap2dns (--configure):
 subprocess post-installation script returned error exit status 128
Errors were encountered while processing:
 ldap2dns
E: Sub-process /usr/bin/dpkg returned an error code (1)

It should not fail but handle the situation gracefully

TEST CASE:
This issues shows up during postinst phase, the only step required to reproduce this is install ldap2dns package.
Fix is straightforward: just upgrade to the new version and exit status 128 will no longer appear.

Revision history for this message
Michael Vogt (mvo) wrote : [can-not-install] postinst failure

Binary package hint: ldap2dns

Found while doing a install test:

Setting up ldap2dns (0.3.1-3) ...
/

ldap2dns has been installed.

To set up services, please see the documentation at:
http://ldap2dns.tiscover.com/ or
/usr/share/doc/ldap2dns/README.txt.gz

To Configure ldap2dns for use with djbdns:
Run ldap2tinydns-conf in your tinydns directory, something like:
root@host:/var/tinydns# ldap2tinydns-conf

Then tell svscan about the new service:
ln -s /var/tinydns/ldap2tinydns /var/lib/svscan

dpkg: error processing ldap2dns (--configure):
 subprocess post-installation script returned error exit status 128
Errors were encountered while processing:
 ldap2dns
E: Sub-process /usr/bin/dpkg returned an error code (1)

It should not fail but handle the situation gracefully

Revision history for this message
Carlos Perelló Marín (carlos) wrote :

6 months later, the problem is still there.

Changed in ldap2dns:
status: New → Confirmed
Changed in ldap2dns:
assignee: nobody → dktrkranz
status: Confirmed → In Progress
Changed in ldap2dns:
status: Unknown → New
Revision history for this message
Luca Falavigna (dktrkranz) wrote :
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Attached debdiff should fix this bug.

Changed in ldap2dns:
assignee: dktrkranz → nobody
status: In Progress → Confirmed
Revision history for this message
Maurizio Moriconi (bugman) wrote :

The fix from Luca works. This is the log from hardy tarball:

http://pastebin.ubuntu.com/1281/

Emmet Hikory (persia)
Changed in ldap2dns:
assignee: nobody → persia
status: Confirmed → In Progress
importance: Undecided → Medium
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

ldap2dns (0.3.1-3ubuntu1) hardy; urgency=low

  * Do not include /usr/share/debconf/confmodule in postinst (LP: #90932)
  * Update Maintainer field in debian/control

 -- Luca Falavigna <email address hidden> Wed, 24 Oct 2007 13:31:32 +0200

Changed in ldap2dns:
status: In Progress → Fix Released
Changed in ldap2dns:
assignee: nobody → dktrkranz
status: New → In Progress
Changed in ldap2dns:
assignee: nobody → dktrkranz
status: New → In Progress
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Debdiff for gutsy-proposed.

Changed in ldap2dns:
assignee: dktrkranz → nobody
status: In Progress → Confirmed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Debdiff for feisty-proposed.

Changed in ldap2dns:
assignee: dktrkranz → nobody
status: In Progress → Confirmed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Debdiff for edgy-proposed.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Dapper version is fine for me.

Emmet Hikory (persia)
Changed in ldap2dns:
status: New → Confirmed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Even if versioning should be correct, a more elegant way to achieve the same reseluts is provided by using release numbers as part of the version:
0.3.1-3ubuntu0.7.10 for Gutsy
0.3.1-3ubuntu0.7.04 for Feisty
0.3.1-3ubuntu0.6.10 for Edgy

This approach has been already accepted for bug #131946.

description: updated
Changed in ldap2dns:
importance: Undecided → Medium
importance: Undecided → Medium
importance: Undecided → Medium
Revision history for this message
In , Luca Falavigna (dktrkranz) wrote : Patch

Tags: patch

Attached patch, taken against Ubuntu version, should fix this issue.
Thank you.

Revision history for this message
In , Luca Falavigna (dktrkranz) wrote :

tags 333448 + patch
tags 374454 + patch
tags 374723 + patch
thanks

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Uploaded to gutsy-proposed using 0.3.1-3ubuntu0.7.10 as version.
Uploaded to feisty-proposed using 0.3.1-3ubuntu0.7.04 as version.
Uploaded to edgy-proposed using 0.3.1-3ubuntu0.6.10 as version.

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into edgy/feisty/gutsy-proposed, please test.

Changed in ldap2dns:
status: Confirmed → Fix Committed
status: Confirmed → Fix Committed
status: Confirmed → Fix Committed
Revision history for this message
Andrea Colangelo (warp10) wrote :

0.3.1-3ubuntu0.7.10 installs fine for me.

Revision history for this message
Daniel Schwitzgebel (schwitzd) wrote :

0.3.1-3ubuntu0.7.04 work for me

Revision history for this message
Daniel Schwitzgebel (schwitzd) wrote :

0.3.1-3ubuntu0.6.10 and 0.3.1-3ubuntu0.7.10
work for me

Revision history for this message
Salvatore Palma (palma-salvatore) wrote :

Works for me on Edgy, Feisty and Gutsy.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Minimum aging period of seven days elapsed and two persons confimed fix is good.
Tagging verification-motu-done as per http://wiki.ubuntu.com/StableReleaseUpdates (previous policy)

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to edgy/feisty-/gutsy-updates.

Changed in ldap2dns:
status: Fix Committed → Fix Released
status: Fix Committed → Fix Released
status: Fix Committed → Fix Released
Changed in ldap2dns (Debian):
status: New → Fix Committed
Changed in ldap2dns (Debian):
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.