[sheepdog] [PATCH stable-0.6 4/6] debian: add missing db_stop

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Fri Jul 19 08:07:28 CEST 2013


From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>

This fixes a problem that the deb package installation hangs.

Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
 debian/sheepdog.postinst |    1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/sheepdog.postinst b/debian/sheepdog.postinst
index f4c48a1..bc72f06 100644
--- a/debian/sheepdog.postinst
+++ b/debian/sheepdog.postinst
@@ -21,6 +21,7 @@ if [ "$1" = "configure" ] ; then
 		db_get sheepdog/daemon_args
 		sed -i -e "s/^[ \t]*DAEMON_ARGS=.*/DAEMON_ARGS=\"$RET\"/g" /etc/default/sheepdog
 	fi
+	db_stop || true
 fi
 
 #DEBHELPER#
-- 
1.7.10.4




More information about the sheepdog mailing list