Commit Graph

13 Commits

Author SHA1 Message Date
Daniel Black
a87e9e5d9a Document systemd service changes
Prefer the systemctl edit mysql.service syntax
and leave the more complex alternatives to the
existing documents referenced.

Also show how to use the multiinstance a bit more.
2021-05-11 12:07:23 +00:00
Daniel Black
95f558b833 drop KillMode=process
MariaDB-10.4 onwards included a pam_helper subprocess to help
with the pam authentication module.

If the user is running with Galera there are SST modules that could
be executing.

By dropping KillMode=process this reverts back to control-group to
cover all of these subprocesses. This is what upstream does.

https://jira.mariadb.org/browse/MDEV-25233 suggests moving to
KillMode=mixed, which is probably ok too, but has been tested less.
2021-05-11 12:07:23 +00:00
Daniel Black
df76620f9e rename mysql scripts to mariadb
Use mariadb names in the scripts too.
2021-05-11 12:01:29 +00:00
Michal Schorm
f6397a1a9b Rebase to 10.2.15
Don't use conditionals macros verided by the values outside the SPEC. They don't work thay way.
Fix the server Recommends. They won't be parsed correctly, if they have whitespaces in front of them in contidional macros.
Move the upstream systemd config file for tokudb to the correct location.
Tweak the systemd unit files, to be closer to their upstream variants.
Heavy update of the skipped tests list. PPC64le seems problematic lately. Spider tests are disabled in the first testsuite run as a whole testsuite, so no need to explicitly list them.
Extend the testsuite timeout to 15 hours; 12 hours just wasn't enough for PPC64le; allow to retry failed test one time.
Build with Jemalloc again. Require Jemalloc by TokuDB. Set precise version of Jemalloc library to systemd config for TokuDB.
2018-05-28 06:16:00 +02:00
Michal Schorm
1edbdde313 Include aliases for mariadb service; #1520905 2017-12-09 02:48:08 +01:00
Michal Schorm
04a85451ac Remove mysql-wait-* scripts. They aren't needed when using systemd "Type=notify" 2017-07-13 16:30:08 +02:00
Michal Schorm
4a9448cf0c Removed strmov patch, it is no longer needed. The issue was fixed long ago in both MariaDB and MySQL
Removed "After=syslog.target" from systemd unit files. This option is a default one
2017-03-08 15:10:16 +01:00
Michal Schorm
5bf2ab94ed Added comment to mysql.service.in 2017-03-07 13:39:27 +01:00
Honza Horak
2caa773538 Remove mariadb-wait-ready call from systemd unit, we have now systemd notify support
Make mariadb@.service similar to mariadb.service
2016-02-11 13:52:17 +01:00
Honza Horak
43cc79ee49 Use systemd unit file more compatible with upstream 2016-02-08 06:56:32 +01:00
Honza Horak
eb4231cae1 Wait for daemon ends
Resolves: #1072958

Conflicts:
	mariadb-scl-env-check.patch
	mariadb.spec
2015-03-06 21:18:26 +01:00
Honza Horak
487b6d1b34 Check upgrade script added to warn about need for mysql_upgrade 2014-09-29 14:34:41 +02:00
Honza Horak
85af24c338 Spec rewrite to be more similar to oterh MySQL implementations 2014-07-24 13:59:25 +02:00