Bug#487972: chillispot: ucf can hang on install when using debconf

2008-07-10 Thread Rudy Godoy Guillén
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


Thank you for reporting, it will be in the next revision.
Rudy


Bug#487972: chillispot: ucf can hang on install when using debconf

2008-06-25 Thread James Westby
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.postinst2008-06-03 14:14:51.0 +0100
+++ 1.0-9ubuntu1/debian/chillispot.postinst 2008-06-03 14:12:59.0 
+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]