Your message dated Fri, 16 Apr 2021 20:47:45 +0200 with message-id <27baa06e-9a17-8374-16da-25c3b6533eec@debian.org> and subject line Re: Bug#986322: Bug#986129: unblock: sendmail/8.15.2-22 has caused the Debian Bug report #986322, regarding sendmail is stopped during upgrades to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 986322: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986322 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: unblock: sendmail/8.15.2-22
- From: Andreas Beckmann <anbe@debian.org>
- Date: Tue, 30 Mar 2021 09:05:41 +0200
- Message-id: <161708794151.26980.517448856845459661.reportbug@zam504.zam.kfa-juelich.de>
Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: unblock Please unblock package sendmail sendmail does not cleanly restart after upgrading from buster because the binaries were moved from /usr/lib/sm.bin to /usr/libexec/sendmail. So let's stop sendmail in preinst if upgrading from a version with the old layout. (To minimize downtime sendmail is usually not stopped before the new version gets unpacked, but only restarted in postinst.) unblock sendmail/8.15.2-22 Andreas>From b91969214360c466be10f2326ba8ac73dd3ed95d Mon Sep 17 00:00:00 2001 From: Andreas Beckmann <anbe@debian.org> Date: Tue, 16 Mar 2021 16:04:33 +0100 Subject: [PATCH] stop sendmail before binaries get moved from /usr/lib/sm.bin/ to /usr/libexec/sendmail/ --- debian/changelog | 8 ++++++++ debian/sendmail-bin.preinst.in | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/debian/changelog b/debian/changelog index 4438fa8..fb8ca3b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +sendmail (8.15.2-22) unstable; urgency=medium + + * QA upload. + * Stop sendmail before binaries get moved from /usr/lib/sm.bin/ to + /usr/libexec/sendmail/. + + -- Andreas Beckmann <anbe@debian.org> Tue, 16 Mar 2021 16:04:16 +0100 + sendmail (8.15.2-21) unstable; urgency=medium * QA upload. diff --git a/debian/sendmail-bin.preinst.in b/debian/sendmail-bin.preinst.in index f4dda47..409b650 100644 --- a/debian/sendmail-bin.preinst.in +++ b/debian/sendmail-bin.preinst.in @@ -14,6 +14,11 @@ if [ "$1" = "upgrade" ]; then if [ -f /etc/cron.d/sendmail ]; then echo "#preinst" > @sysconfdir@/cron.d/sendmail; fi; + + if dpkg --compare-versions "$2" lt-nl "8.15.2-19" ; then + # stop sendmail before binaries get moved from /usr/lib/sm.bin/ to /usr/libexec/sendmail/ + invoke-rc.d sendmail stop + fi fi #DEBHELPER# -- 2.20.1
--- End Message ---
--- Begin Message ---
- To: Justin B Rye <justin.byam.rye@gmail.com>, 986322-done@bugs.debian.org
- Subject: Re: Bug#986322: Bug#986129: unblock: sendmail/8.15.2-22
- From: Paul Gevers <elbrus@debian.org>
- Date: Fri, 16 Apr 2021 20:47:45 +0200
- Message-id: <27baa06e-9a17-8374-16da-25c3b6533eec@debian.org>
- In-reply-to: <[🔎] 20210413092731.GB7940@jbr.me.uk>
- References: <161708794151.26980.517448856845459661.reportbug@zam504.zam.kfa-juelich.de> <eb1af359-34da-2e59-e8b5-09e8a22637e3@debian.org> <eb1af359-34da-2e59-e8b5-09e8a22637e3@debian.org> <161708794151.26980.517448856845459661.reportbug@zam504.zam.kfa-juelich.de> <[🔎] 2ff1532f-62e4-9072-8df5-32849c59f7cb@debian.org> <161708794151.26980.517448856845459661.reportbug@zam504.zam.kfa-juelich.de> <[🔎] 20210413092731.GB7940@jbr.me.uk>
Hi, On 13-04-2021 11:27, Justin B Rye wrote: > <title>sendmail downtime during upgrade</title> > <para> > In contrast to normal upgrades of > <systemitem role=package>sendmail</systemitem>, during the upgrade of > buster to bullseye the sendmail service will be stopped, causing more > downtime than usual. For generic advice on reducing downtime see > <xref linkend="services-downtime"/>. > </para> committed. PaulAttachment: OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---