Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1.7-1, 10.1.7-2, 10.1.8-1, 10.1.8-3, 10.1.8-4
Description
Originally reported as http://bugs.mysql.com/bug.php?id=65809
Since systemd tries to start services parallel, it's not easy to ensure that mysql daemon is started before another service, which requires it. Currently, we have to use an arbitrary script, that checks if the daemon is ready.
However, systemd has a feature to notify daemon about a service status, which would help in this scenario a lot and packagers wouldn't need any additional scripts to test daemon status. MySQL daemon can simple send a message to systemd daemon, that startup actions have been done successfully and we are ready to accept connections.
Using this feature is really straightforward and doesn't make any issues if a user uses alternative init system. To be concrete, only one function call and some configuration checking is needed.
Please, consider adopting the following patch attached.
Attachments
Issue Links
- relates to
-
MDEV-427 Provide a systemd script for MariaDB
- Closed
-
MDEV-4606 cmake build to be able to choose sysvinit or systemd (or other) init files
- Closed
-
MDEV-5679 MariaDB holds stdin open after startup as mysqld
- Closed
-
MDEV-5536 Support systemd socket activation
- Closed
-
MDEV-6347 Build RHEL7 packages
- Closed
- links to