[Debian-ha-commits] [ocfs2-tools] 10/11: debian/ocfs2-tools.postinst: stop debconf after reading data

Valentin Vidic vvidic-guest at moszumanska.debian.org
Wed Jan 24 14:33:24 UTC 2018


This is an automated email from the git hooks/post-receive script.

vvidic-guest pushed a commit to branch master
in repository ocfs2-tools.

commit bd381e941b10ed02c633a2ed8c6d67ca3151a54c
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date:   Wed Jan 24 15:07:24 2018 +0100

    debian/ocfs2-tools.postinst: stop debconf after reading data
    
    Init scripts starting from postinst break debconf and
    cause the package installation to hang.
---
 debian/ocfs2-tools.postinst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/ocfs2-tools.postinst b/debian/ocfs2-tools.postinst
index 28cf67c..601b184 100644
--- a/debian/ocfs2-tools.postinst
+++ b/debian/ocfs2-tools.postinst
@@ -18,6 +18,7 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ]; then
     O2CB_KEEPALIVE_DELAY_MS="$RET"
     db_get ocfs2-tools/reconnect_delay
     O2CB_RECONNECT_DELAY_MS="$RET"
+    db_stop
 
     cat > /etc/default/o2cb <<EOF
 #

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/ocfs2-tools.git



More information about the Debian-HA-Commits mailing list