Bug #100619 | Wrong symlink /etc/alternatives/my.cnf -> /etc/mysql/mariadb.cnf | ||
---|---|---|---|
Submitted: | 24 Aug 2020 9:07 | Modified: | 3 Jun 2021 10:25 |
Reporter: | Vaclav Zindulka | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Packaging | Severity: | S3 (Non-critical) |
Version: | 5.7, 8.0 | OS: | Debian (Buster) |
Assigned to: | CPU Architecture: | x86 | |
Tags: | configuration |
[24 Aug 2020 9:07]
Vaclav Zindulka
[24 Aug 2020 9:24]
MySQL Verification Team
Hello Vaclav Zindulka, Thank you for the report and feedback. regards, Umesh
[26 Aug 2020 13:22]
Erlend Dahl
Posted by developer: [24 Aug 2020 4:09] Lars Tangvald Hi, Do you have any MariaDB packages installed or that have not been cleaned up properly? Since MariaDB still uses /etc/mysql/my.cnf to store its config, the alternatives system is used to switch from one to the other. But if MariaDB is still installed and set to a higher priority, MySQL may not be able to switch it to use its own configuration.
[26 Aug 2020 19:35]
Vaclav Zindulka
Hello, No, I uninstalled MariaDB first. I checked presence of /etc/alternatives/my.cnf during diagnostics of the problem and it wasn't present. Then I installed MySQL from the Debian repository and that symlink was created with wrong path. I had script for this procedure which worked without problems earlier. There must have been some change in MySQL repository or may be it is related to Debian Buster somehow. Yet I have no idea how to check that. Not to mention I don't expect any kind of support from Debian guys for external repo like yours.
[3 Jun 2021 10:25]
MySQL Verification Team
Internal base bug is closed with below change log. Fixed in 8.0.26. For Debian packages, the update-alternatives priority of the MySQL configuration file was increased to ensure it replaces an existing file from a previously installed distribution.