tags 345079 +patch
Hello all,

Walter, can you test if the attached patch fixes the hang for you?

--- debian/postinst.old 2006-10-29 13:30:53.000000000 +0000
+++ debian/postinst     2006-10-29 13:32:10.000000000 +0000
@@ -107,10 +107,11 @@

     ### If we are using Exim 4, and the Debian-exim user is not in the
     ### group, add it and then restart Exim.
+    restart_exim=no
     if running_exim4 && add_user Debian-exim "$groupname"
     then
         db_get "$owner/restartexim"
-       $RET && invoke-rc.d exim4 restart
+       $RET && restart_exim=yes

     ### Otherwise, if we are updating from 0.7 or prior versions, we add
     ### the greylist user from the "ugid" DebConf setting
@@ -121,6 +122,9 @@

     fi

+    db_stop || true
+    [ "$restart_exim" != 'no' ] && invoke-rc.d exim4 restart
+
     ### Create working directories
     for dir in "$datadir" "$rundir"
     do


Thanks everyone,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to