[sheepdog] [PATCH RFC 4/5] debian: add missing db_stop

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon Jul 8 06:50:50 CEST 2013


This fixes a problem that the deb package installation hangs.

Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 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.8.1.3.566.gaa39828




More information about the sheepdog mailing list