This is similar to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589487 and 
a suggestion in the audit trail for that bug also works for icinga-idoutils.  
When I changed the postinst script to add 3>&-, I was able to complete the 
upgrade and reconfigure without it hanging.

Diff attached.
--- icinga-idoutils.postinst.orig       2012-01-17 19:57:05.000000000 -0500
+++ icinga-idoutils.postinst    2012-01-17 19:49:06.000000000 -0500
@@ -14,9 +14,9 @@
 if [ -x "/etc/init.d/ido2db" ]; then
        update-rc.d ido2db defaults 35 20 >/dev/null
        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
-               invoke-rc.d ido2db start || exit $?
+               invoke-rc.d ido2db start 3>&- || exit $?
        else
-               /etc/init.d/ido2db start || exit $?
+               /etc/init.d/ido2db start 3>&- || exit $?
        fi
 fi
 # End automatically added section

Reply via email to