From b74e99d8b0df62f8d30fc3a6369ad1bd1f9d06da Mon Sep 17 00:00:00 2001 From: Hans van Kranenburg Date: Mon, 25 May 2020 21:07:36 +0200 Subject: [PATCH] debian/rules: --no-start for xen dh_installinit While debugging the xen-utils postinst/prerm to find the cause of the mysteriously disappearing xenconsoled processes, I discovered that the xen-utils-common postinst and prerm stop and start the xen init script as well! These commands are not visible in the packaging code, but they are added by dh_installinit into the postinst and prerm during package build time. We only want to call the script from xen-utils-V, so disable this behavior by using --no-start Signed-off-by: Hans van Kranenburg Reviewed-by: Ian Jackson Closes: #932759 (2/2) --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 23c982eb41..73232ca20e 100755 --- a/debian/rules +++ b/debian/rules @@ -282,7 +282,7 @@ override_dh_python2: # We have two init scripts. (There used to be xend too.) override_dh_installinit: - dh_installinit --name xen -- defaults 20 21 + dh_installinit --name xen --no-start -- defaults 20 21 dh_installinit --name xendomains --no-start -- defaults 21 20 # dh_strip in dh compat 10 and earlier (which we are at so this -- 2.30.2