<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><span>I can confirm this regression on Debian 12 after upgrading:</span></p>
<p><span>mariadb-server 1:10.11.14-0+deb12u2</span><br>
<span>to</span><br>
<span>mariadb-server 1:10.11.18-0+deb12u1</span></p>
<p><span>My server configuration explicitly contains:</span></p>
<p><span><span data-placeholder-token="true"
class="text-token-text-primary cursor-text rounded-sm"
style="background-color: color-mix(in srgb, var(--theme-user-selection-bg, var(--selection)) 30%, transparent); padding-top: 4px; padding-bottom: 4px;">[mysqld]</span></span><br>
<span>bind-address = 0.0.0.0</span><br>
<span>port = 3307</span></p>
<p><span>MariaDB reads this configuration correctly:</span></p>
<p><span>$ mariadbd --print-defaults | tr ' ' '\n' | grep '^--port'</span><br>
<span>--port=3307</span></p>
<p><span>However, after the upgrade, the server was listening on
port 3306:</span></p>
<p><span>$ ss -lntp | grep -E ':3306|:3307'</span><br>
<span>LISTEN 0 4096 *:3306 </span><em><span>:</span></em><span>
users:(("mariadbd",pid=6193,fd=5),("systemd",pid=1,fd=52))</span></p>
<p><span>Disabling and masking mariadb.socket restored the
configured behavior:</span></p>
<p><span>$ systemctl disable --now mariadb.socket</span><br>
<span>$ systemctl mask mariadb.socket</span><br>
<span>$ systemctl restart mariadb.service</span></p>
<p><span>Afterward, MariaDB correctly listened on the configured
port:</span></p>
<p><span>$ netstat -lpn | grep 330</span><br>
<span>tcp 0 0 0.0.0.0:3307 0.0.0.0:* LISTEN 9290/mariadbd</span></p>
<p><span>This appears to be a security-sensitive stable-release
regression because a routine package upgrade can cause MariaDB
to listen on a different TCP port than the one explicitly
configured by the administrator.</span></p>
<p><span>Please consider ensuring that existing installations retain
their previous listener configuration unless socket activation
is explicitly enabled by the administrator.</span></p>
</body>
</html>