Package: ldap2dns
Version: 0.3.1-3

While testing ldap2dns with piuparts, I ran into a weird problem.
Something in the postinst makes it exit with a status of 128, causing
dpkg to interpret it as having failed, thereby terminating installation.
I reduced it to the following:

#! /bin/sh -e
cd /usr/bin
cd -
. /usr/share/debconf/confmodule

This doesn't fail every time, but quite often for me. If I change it to
the following, it works every time:

#! /bin/sh -e
(cd /usr/bin)
. /usr/share/debconf/confmodule

I have no idea why this works, and the original does not, but there you
have it. It might be good to change the postinst script to use the (...)
mechanism instead. This, of course, doesn't probably actually fix the
bug, so reassigning this to debconf might be better, I don't know.

-- 
I am an artist. Source code is my canvas, a programming language is my
paint.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to