touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #129149
[Bug 1533839] Re: vms shutting down on libvirt upgrade
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@xxxxxxxxxx> 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
Touch seeded packages, which is subscribed to init-system-helpers in
Ubuntu.
https://bugs.launchpad.net/bugs/1533839
Title:
vms shutting down on libvirt upgrade
Status in init-system-helpers package in Ubuntu:
New
Status in libvirt package in Ubuntu:
Triaged
Status in init-system-helpers source package in Wily:
New
Status in libvirt source package in Wily:
New
Bug description:
Server running ubuntu wily, kvm and a few virtual machines
Today installed security updates which contained a libvirt update.
After finishing the updates i found al my virtual machines were
shutdown. Previous libvirt updates did not shutdown running virtual
machines.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/init-system-helpers/+bug/1533839/+subscriptions