On Sat, Nov 07, 2009 at 04:26:49PM +0100, Iustin Pop wrote: > Attached to this email is patch against the current SVN tree that simply > disables the "stop" of the prerm for upgrades. If by any chance, an > upgrade absolutely requires the stop, IMHO this should be done > conditionally in the new packages's postinst/configure and not in the > old package. > […]
Hi all, A NMU has been uploaded to DELAYED/2; the diff from the current version is attached to this email. thanks, iustin
diff -u drbd8-8.3.4/debian/drbd8-utils.prerm drbd8-8.3.4/debian/drbd8-utils.prerm --- drbd8-8.3.4/debian/drbd8-utils.prerm +++ drbd8-8.3.4/debian/drbd8-utils.prerm @@ -17,7 +17,9 @@ ;; upgrade|failed-upgrade) - invoke-rc.d drbd stop + # we don't stop the drbd resources as it's not absolutely needed during + # a utils upgrade and it would mean that unattended upgrades cause + # outages ;; *) diff -u drbd8-8.3.4/debian/changelog drbd8-8.3.4/debian/changelog --- drbd8-8.3.4/debian/changelog +++ drbd8-8.3.4/debian/changelog @@ -1,3 +1,13 @@ +drbd8 (2:8.3.4-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix watch file + * No longer stops the drbd resources on upgrades of the drbd8-utils + package, since this is not needed and shutdowns must be done by the + administrator (Closes: #499516) + + -- Iustin Pop <iu...@k1024.org> Fri, 13 Nov 2009 19:58:29 +0100 + drbd8 (2:8.3.4-1) unstable; urgency=low * New upstream release. diff -u drbd8-8.3.4/debian/watch drbd8-8.3.4/debian/watch --- drbd8-8.3.4/debian/watch +++ drbd8-8.3.4/debian/watch @@ -2 +2 @@ -http://oss.linbit.com/drbd/ 8.0/drbd-(.*).tar.gz +http://oss.linbit.com/drbd/ 8.3/drbd-(.*).tar.gz