<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, 9 Jun 2025 at 16:48, Otto Kekäläinen via discuss <<a href="mailto:discuss@lists.mariadb.org">discuss@lists.mariadb.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Patching one of our spare servers this morning and ran into a couple of issues. The first was a complaint in the service status:<br>
><br>
> mariadb.service: Referenced but unset environment variable evaluates to an empty string: MYSQLD_OPTS, _WSREP_NEW_CLUSTER<br>
><br>
> Which was fixed by running systemctl edit mariadb.service and adding<br>
><br>
> Environment="MYSQLD_OPTS="<br>
> Environment="_WSREP_NEW_CLUSTER="<br>
<br>
This is just a warning, and does not affect anything. Naturally it<br>
should be fixed though. Potential fix posted in<br>
<a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1105029" rel="noreferrer" target="_blank">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1105029</a><br>
<br></blockquote><div><br></div><div>A more complete backport of MDEV-19210 commits would be required to have a serviceable Galera with systemd.</div><div><br></div><div>upstream commits:</div><div>* 3d2e54ff8c6070800ead60dd1616df30c5936c8b</div><div>* 105473233dd49b198758432fa0da5d0811f99c08</div><div>* aeffec60f6864bae5af04dac1184f2a0f2c77f38</div><div>* 4c56c66372c3f578dc75b537a79bf922dbddcafd</div><div>* 621926e90ac05c33b956cf123f08e56b654d00df</div><div>* 7936254012784790b7747dc07941917af1bbb83c</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> The second was from the error log which stated that the service was unable to read /etc/mysql/rest/keyfile.passwd, which turned out to be a permissions error on /etc/mysql/rest which was 600 and not 700 (I checked the other servers and theirs were also 600 so I guess it's the fix for MDEV-36229 which caused that)<br></blockquote><div><br></div><div>yes, directories should have execute permissions.</div><br></div></div>