🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #1275

Bug#1141976: [debian-mysql] Bug#1151058: mariadb-server: socket activation restarts server mid-upgrade; stalled instance blocks ...

#1275
From: Otto Kekäläinen
Date: Sun, 18 Oct 2026 15:10
35 lines
4595 bytes
Hi!

Thanks for reporting
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1151058 and
following up on
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1141976.

The regression was in 1:10.11.18+deb12u1 that included upstream commit
https://github.com/MariaDB/server/commit/9fa3f51f59f5b7a6d84c68a45e6a6579f55847b3
that lead to Debhelper (version 10) injecting extra lines as listed in
https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests/171#note_817952.

Initially 1:10.11.18-0+deb12u1 was only in bookworm-proposed-updates
and wasn't let into Bookworm itself due to the regression. However,
once Bookworm went into LTS, all pending proposed updates were
released, so unfortunately all users who upgraded .17->.18 potentially
hit this.

The fix in .19 does not have this regression anymore. Upgrades from
.17 to .19 skip this issue.

The fix does however not include any workaround to shut down
potentially existing socket activated instances. If you want to spend
time developing such a fix, you are welcome to do so and submit your
contribution in the open source spirit at
https://salsa.debian.org/mariadb-team/mariadb-server. Alternatively,
if you have a support contract with some provider, you can request
them to engineer the fix for you (and potentially also submit it to
Debian).

For anyone who ran into this issue and wanted to manually fix it,
simply run `pgrep -ef mariadbd` and/or `pgrep -ef mysqld` and look at
your process listings to see that all instances have shut down. After
that you can restart your system or just restart the systemd service
to let systemd manage starting the service.
Technical Details
Message-ID: <NPAGm-6m6M-23@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <NOQWR-5Wc5-9@gated-at.bofh.it> <Nghfc-4r11-3@gated-at.bofh.it> <NOQWR-5Wc5-9@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Otto Kekäläinen <otto@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1141976: [debian-mysql] Bug#1151058: mariadb-server: socket activation restarts server mid-upgrade; stalled instance blocks service (SendSIGKILL=no)
Date: Sun, 18 Oct 2026 17:10:02 +0200
Message-ID: <NPAGm-6m6M-23@gated-at.bofh.it>
References: <NOQWR-5Wc5-9@gated-at.bofh.it> <Nghfc-4r11-3@gated-at.bofh.it> <NOQWR-5Wc5-9@gated-at.bofh.it>
X-Original-To: José Miguel Gonçalves <jose.goncalves@inov.pt>, 
	1151058@bugs.debian.org, Vincent.Mcintyre@csiro.au, 1141976@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Oct 18 15:09:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Otto Kekäläinen <otto@debian.org>, 1141976@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-mysql-maint@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1141976
X-Debian-Pr-Package: mariadb-server
X-Debian-Pr-Keywords: patch bookworm
X-Debian-Pr-Source: mariadb, mariadb-10.0, mariadb-10.1, mariadb-10.3, mariadb-10.4, mariadb-10.5, mariadb-10.6, mariadb-5.5
X-Forwarded-Encrypted: i=1; AKwUvBx9F+nzjIAvUgjhYz+psYtA5NW6oA8ZNrhRLnSFg0OKK5c8nlzXL9i6powxMg8Wn7fKzAIE4M5D@bugs.debian.org
X-Gm-Message-State: AFq9FYIjhAOPccZgil5gY9kko0cAJrBNwFLplJrhvXD15ujb9OX0UqH/
	ZE+COq6Kk/kz5dyLgHFR2MmdwibVZP5AOUYTeblRRPCsKxLHqD7O54Bgf4HQbUJT1HrEeZnUVbe
	h1vDLyeOMX20euqyJJXhcY33bFshkaPM=
X-Received: by 2002:a05:6102:6d0:b0:7cc:285d:4df7 with SMTP id
 ada2fe7eead31-7cc3699ca12mr1449423137.16.1792335986331; Sun, 18 Oct 2026
 08:06:26 -0700 (PDT)
MIME-Version: 1.0
X-Gmail-Original-Message-ID: <CAOU6tABDBXuz3dtpMf-cd+TktvEd4wCaKfOZyMDBgsqY5sTfCQ@mail.gmail.com>
X-Gm-Features: AclHuK9NHQFT-hOyDT86sEPddDaIVqEapTpuw8Jvr50auLNrg9gR11URgkp8i_I
Content-Type: text/plain; charset="UTF-8"
X-Debian-User: otto
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997409
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 35
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 18 Oct 2026 23:05:49 +0800
X-Original-Message-ID: <CAOU6tABDBXuz3dtpMf-cd+TktvEd4wCaKfOZyMDBgsqY5sTfCQ@mail.gmail.com>
X-Original-References: <179215968622.10481.1319277707159337750.reportbug@ip-pbx2.is.inesc.pt> <178391848335.313560.1675764985608577754.reportbug@kei1.svenhartge.de> <179215968622.10481.1319277707159337750.reportbug@ip-pbx2.is.inesc.pt>