← Back to team overview

maria-discuss team mailing list archive

Re: mysqld_safe and pid files


Am 26.09.2017 um 20:03 schrieb Ruben Safir:
170926 10:41:53 mysqld_safe mysqld from pid file /run/mariadb.pid ended
drwxr-xr-x  16 root root   620 Sep 25 21:45 run

what do you recommend to do?  The system is uniform

never write pid-files directly below /run
make /run world-writeable is a terrible idea

no idea about openrc, but systemd has https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html to create subfolders on tmpfs at boot with the correct permissions

Follow ups