Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
5.5.35, 10.0.8
-
None
-
Gentoo Linux
Description
In reference to Gentoo Bug 461226,
MariaDB holds open stdin after being started like this example:
start-stop-daemon --background --exec /usr/sbin/mysqld -- --defaults-file=/etc/mysql/my.cnf
|
Posting the issue here as suggested by serg on IRC
Attachments
Issue Links
- relates to
-
MDEV-5713 RFE: Add support for systemd notify feature
-
- Closed
-
- links to
My suggestion was to implement a very old and popular request and let mysqld to daemonize itself. Additionally, if it'll do that only after it is ready to accept new connections it will also remove the need for hacks like Fedora's mysql-wait-ready script that runs mysqladmin ping in a loop to detect when a server is finally ready to serve (meaning, systemd can start services that depend on mysqld).