Package: chillispot
Version: 1.0-9
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu intrepid ubuntu-patch

Hi,

Installing chillispot can hang on ucf if debconf is used due to
db_stop being called too early in the postinst. The following
patch from Michael Vogt is used in Ubuntu to fix this. Please
consider applying it.

You can see the original bug report at

  https://bugs.edge.launchpad.net/ubuntu/+source/chillispot/+bug/225900

Thanks,

James

diff -pruN 1.0-9/debian/chillispot.postinst
1.0-9ubuntu1/debian/chillispot.postinst
--- 1.0-9/debian/chillispot.postinst    2008-06-03 14:14:51.000000000 +0100
+++ 1.0-9ubuntu1/debian/chillispot.postinst     2008-06-03 14:12:59.000000000 
+0100
@@ -48,7 +48,6 @@ else
         uam_homepage=`echo $uam_homepage | sed 's|\/|\\\/|g'`
         db_get chillispot/uamsecret
         uam_secret=$RET
-        db_stop
         # Substitute and write the new configfile
         tempfile=`tempfile`
         sed -r -e "s/^(#)?radiusserver1.*/radiusserver1\ $radius_server_1/" \
@@ -65,6 +64,7 @@ else
         else
                  ucf $tempfile $CONFIGFILE
         fi
+        db_stop
 fi
 
 # ucf registration





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

Reply via email to