mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
764dd39ca7
Partially reverts commit a4cc6fb91f
.
While all current versions of Linux have systemd, support for traditional
init.d is still needed e.g. on Linux subsystem on Windows, kFreeBSD and
special variants of Debian/Ubuntu that for other reasons don't have
systemd.
Thus, re-introduce the init file that was remove, but this time with
then name 'mariadb'.
Supporting traditional sysv init in paraller with systemd is easy, since
Debian has facilities for it.
Also simplify and update salsa-ci.yml install/upgrade testing works
for all previous MariaDB and MySQL releases without any excess quirks.
Note that in fresh installs the salsa-ci.yml needs to run command
'service mariadb status' to control the service, while on upgrades
it is enough to run 'service mysql status', since the init.d/mysql
file is left behind from previous install, along with some other
config files such as /etc/default/mysql and /etc/mysql/* stuff.
9 lines
708 B
Text
9 lines
708 B
Text
/etc/init.d/mariadb\[[0-9]+\]: Check that mysqld is running and that the socket: '/run/mysqld/mysqld.sock' exists\!$
|
|
/etc/init.d/mariadb\[[0-9]+\]: '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$
|
|
/etc/mysql/debian-start\[[0-9]+\]: Checking for crashed MySQL tables\.$
|
|
mysqld\[[0-9]+\]: $
|
|
mysqld\[[0-9]+\]: Version: .* socket: '/run/mysqld/mysqld.sock' port: 3306$
|
|
mysqld\[[0-9]+\]: Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' earlier on the command line$
|
|
mysqld_safe\[[0-9]+\]: started$
|
|
usermod\[[0-9]+\]: change user `mysql' GID from `([0-9]+)' to `\1'$
|
|
usermod\[[0-9]+\]: change user `mysql' shell from `/bin/false' to `/bin/false'$
|