[Bug 1533839] Re: vms shutting down on libvirt upgrade
Serge Hallyn
1533839 at bugs.launchpad.net
Sat Jan 16 01:05:24 UTC 2016
Indeed, the following debdiff to init-system-helpers fixes it for me
(with the exception that I used quilt and it's a native package, so
don't use the debdiff verbatim) :
diff -Nru init-system-helpers-1.24ubuntu2/debian/changelog init-system-helpers-1.24ubuntu2x1/debian/changelog
--- init-system-helpers-1.24ubuntu2/debian/changelog 2015-11-18 12:27:05.000000000 +0000
+++ init-system-helpers-1.24ubuntu2x1/debian/changelog 2016-01-16 00:43:32.000000000 +0000
@@ -1,3 +1,9 @@
+init-system-helpers (1.24ubuntu2x1) xenial; urgency=medium
+
+ * fix inverted use of -r flag to dh_systemd_start
+
+ -- Serge Hallyn <serge.hallyn at ubuntu.com> Sat, 16 Jan 2016 00:42:51 +0000
+
init-system-helpers (1.24ubuntu2) xenial; urgency=medium
* Add Breaks/Replaces on upstart to cover move of
diff -Nru init-system-helpers-1.24ubuntu2/patches/fix-systemd-restart-on-upgrade.patch init-system-helpers-1.24ubuntu2x1/patches/fix-systemd-restart-on-upgrade.patch
--- init-system-helpers-1.24ubuntu2/patches/fix-systemd-restart-on-upgrade.patch 1970-01-01 00:00:00.000000000 +0000
+++ init-system-helpers-1.24ubuntu2x1/patches/fix-systemd-restart-on-upgrade.patch 2016-01-16 00:42:50.000000000 +0000
@@ -0,0 +1,13 @@
+Index: init-system-helpers-1.24ubuntu2/script/dh_systemd_start
+===================================================================
+--- init-system-helpers-1.24ubuntu2.orig/script/dh_systemd_start
++++ init-system-helpers-1.24ubuntu2/script/dh_systemd_start
+@@ -205,7 +205,7 @@ foreach my $package (@{$dh{DOPACKAGES}})
+
+ $sd_autoscript->("postrm", "postrm-systemd-reload-only");
+
+- if ($dh{R_FLAG} || $dh{RESTART_AFTER_UPGRADE}) {
++ if (!$dh{R_FLAG} || $dh{RESTART_AFTER_UPGRADE}) {
+ # stop service only on remove
+ $sd_autoscript->("prerm", "prerm-systemd-restart");
+ } elsif (!$dh{NO_START}) {
diff -Nru init-system-helpers-1.24ubuntu2/patches/series init-system-helpers-1.24ubuntu2x1/patches/series
--- init-system-helpers-1.24ubuntu2/patches/series 1970-01-01 00:00:00.000000000 +0000
+++ init-system-helpers-1.24ubuntu2x1/patches/series 2016-01-16 00:42:06.000000000 +0000
@@ -0,0 +1 @@
+fix-systemd-restart-on-upgrade.patch
** Changed in: init-system-helpers (Ubuntu)
Importance: Undecided => High
** Also affects: libvirt (Ubuntu Wily)
Importance: Undecided
Status: New
** Also affects: init-system-helpers (Ubuntu Wily)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to init-system-helpers in Ubuntu.
https://bugs.launchpad.net/bugs/1533839
Title:
vms shutting down on libvirt upgrade
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/init-system-helpers/+bug/1533839/+subscriptions
More information about the Ubuntu-server-bugs
mailing list