From: Hans van Kranenburg Date: Mon, 25 May 2020 19:07:36 +0000 (+0200) Subject: debian/rules: --no-start for xen dh_installinit X-Git-Tag: archive/raspbian/4.11.4-1+rpi1^2~54 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b74e99d8b0df62f8d30fc3a6369ad1bd1f9d06da;p=xen.git 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) --- 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