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
This commit is contained in:
Kristyna Streitova 2020-09-10 16:11:24 +00:00 committed by Git OBS Bridge
parent a7015b1d07
commit b62a06fa4f
3 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Sep 1 15:44:02 UTC 2020 - Cristian Rodríguez <crrodriguez@opensuse.org>
- 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 <crrodriguez@opensuse.org>
- 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 <kstreitova@suse.com>

View File

@ -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

View File

@ -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