[MDEV-28759] Deployment of /etc/init.d/mysql causes issues Created: 2022-06-07 Updated: 2022-06-28 Resolved: 2022-06-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Affects Version/s: | 10.3 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Michaël de groot | Assignee: | Sergei Golubchik |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Hi, I have found that recent versions of MariaDB 10.3 deploy a /etc/init.d/mysql start script. On AlmaLinux 8, this script is automatically imported as a systemd service called "mysql". On earlier versions, the 'mysql' service was aliased to 'mariadb'. This causes two issues: 1: The script starts the 'mysql' service, not the MariaDB service. Therefore stopping the mariadb service does not work after starting the mysql service. This might sound trivial, but automated management runs into issues this way when someone manually intervenes. 2: The start script starts mariadb with log-error to a file, instead of to syslog. This is non-default behaviour. I propose to remove the /etc/init.d/mysql script as I don't see how it adds value. Thanks, |
| Comments |
| Comment by Sergei Golubchik [ 2022-06-28 ] |
|
Fixed in 10.4+, please, upgrade |