Article View: linux.debian.bugs.dist
Article #3126Bug#1152931: mariadb: Inconsistent usage of mysqld vs mariadbd in/with /run/mariadbd
From: Michael Prokop
Date: Tue, 03 Nov 2026 10:00
Date: Tue, 03 Nov 2026 10:00
38 lines
3466 bytes
3466 bytes
Package: mariadb
Version: 1:11.8.9+ds-4
Severity: normal
Hi,
as of mariadb 1:11.8.9+ds-3, mariadb uses /run/mariadbd instead of
/run/mysqld. What used to be /run/mysqld/mysqld.sock is present as
/run/mariadbd/mysqld.sock now (note the mixture of mariadb + mysql
in the file name, with the underlying process also being
/usr/sbin/mariadbd).
I don't see the rational (the "why we're doing this") in neither
https://github.com/MariaDB/server/pull/5059/changes/2e711651ef977ed957656472287a4a775e219b3c
nor
https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests/178/diffs?commit_id=a4415e1fd71bee58d94202bd6c90715dcddf57d7
for this change, but the change as it is feels a bit inconsistent to me.
I'm aware that with mariadb-server-compat one gets /run/mysqld
back with its symlink to /run/mariadbd, and then
/run/mysqld/mysqld.sock is available as it used to be, but maybe
we've an option to also move /run/mariadbd/mysqld.sock into
/run/mariadbd/mariadbd.sock, to get this at least consistent?
Note: the change caused regressions in several scripts/services at
customers of mine, and looking at
https://codesearch.debian.net/search?q=%2Frun%2Fmysqld&literal=1&perpkg=1
there might be further software that might need adjustments.
Please consider mentioning this change with the option for
mariadb-server-compat at least in the release notes of forky.
PS: in the package description of mariadb-server-compat there's a
typo ("switcing" should be "switching"), maybe you could also fix
that. (I didn't want to provide a MR for this trivial change, since
its's triggering a build with lots of resource usage.)
regards
-mika-
Technical Details
Message-ID:
<NVjt7-9A7P-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Michael Prokop <mika@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1152931: mariadb: Inconsistent usage of mysqld vs mariadbd in/with /run/mariadbd Date: Tue, 03 Nov 2026 11:00:01 +0100 Message-ID: <NVjt7-9A7P-9@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Nov 3 09:55:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Quarantine-ID: <9XPdelReioxK> X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "Message-ID" X-Spam-Flag: NO X-Spam-Score: -1.9 Reply-To: Michael Prokop <mika@debian.org>, 1152931@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: pkg-mysql-maint@lists.alioth.debian.org X-Debian-Pr-Message: report 1152931 X-Debian-Pr-Package: mariadb X-Debian-Pr-Source: mariadb Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: reportbug 7.10.3+deb11u2 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000396 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> List-Archive: https://lists.debian.org/msgid-search/2026-11-03T10-34-06@devnull.michael-prokop.at Approved: robomod@news.nic.it Lines: 38 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 03 Nov 2026 10:53:02 +0100 X-Original-Message-ID: <2026-11-03T10-34-06@devnull.michael-prokop.at>