From b62a06fa4f525cc66c00a3a8e680deb46e4ef1e2c6048dd2c547cf3f27e116f1 Mon Sep 17 00:00:00 2001 From: Kristyna Streitova Date: Thu, 10 Sep 2020 16:11:24 +0000 Subject: [PATCH] Accepting request 831240 from home:elvigia:branches:server:database - Using basic.target dependencies is not needed with any systemd release unless DefaultDependencies is disabled, remove from unit files - Mariadb uses hrtimers with absolute CLOCK_REALTIME values, this won't work correctly if the clock isn't set and will do funny things if it goes backward after starting the server as POSIX says that the new clock value shall influence them, start the service after time-sync.target to workaround the problem. OBS-URL: https://build.opensuse.org/request/show/831240 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=259 --- mariadb.changes | 16 ++++++++++++++++ mariadb.service.in | 3 +-- mariadb@.service.in | 3 +-- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/mariadb.changes b/mariadb.changes index 50cf2b5..805b0e6 100644 --- a/mariadb.changes +++ b/mariadb.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Sep 1 15:44:02 UTC 2020 - Cristian Rodríguez + +- Using basic.target dependencies is not needed with any systemd + release unless DefaultDependencies is disabled, remove from + unit files + +------------------------------------------------------------------- +Tue Sep 1 15:05:00 UTC 2020 - Cristian Rodríguez + +- Mariadb uses hrtimers with absolute CLOCK_REALTIME values, this + won't work correctly if the clock isn't set and will do funny things + if it goes backward after starting the server as POSIX says that the new + clock value shall influence them, start the service after time-sync.target + to workaround the problem. + ------------------------------------------------------------------- Wed Aug 12 16:43:40 UTC 2020 - Kristyna Streitova diff --git a/mariadb.service.in b/mariadb.service.in index afa44bc..993c6d3 100644 --- a/mariadb.service.in +++ b/mariadb.service.in @@ -23,9 +23,8 @@ Description=MariaDB database server Documentation=man:mysqld(8) Documentation=https://mariadb.com/kb/en/library/systemd/ -Wants=basic.target Conflicts=mariadb.target -After=basic.target network.target +After=network.target time-sync.target [Install] WantedBy=multi-user.target diff --git a/mariadb@.service.in b/mariadb@.service.in index 1210a99..2d78c1b 100644 --- a/mariadb@.service.in +++ b/mariadb@.service.in @@ -23,9 +23,8 @@ Description=MariaDB database server - %I instance Documentation=man:mysqld(8) Documentation=https://mariadb.com/kb/en/library/systemd/ -Wants=basic.target PartOf=mariadb.target -After=basic.target network.target +After=network.target time-sync.target [Install] WantedBy=multi-user.target