mysqld and udev
Jerry Lundström
prox at lunar-linux.org
Fri Jun 18 00:41:04 GMT 2004
Jeff Hodges wrote:
> Ok, I just noticed something about udev and mysql. If their initscripts
> are run from a terminal, their process is attached to that login. This
> is /bad/ IMHO
>
> root at gecko ~ # /etc/init.d/mysqld restart
> Killing mysqld with pid 9495
> Wait for mysqld to exit\c
> .\c
> 040617 20:35:13 mysqld ended
>
> done
> root at gecko ~ # Starting mysqld daemon with databases from /var/lib/mysql
>
> root at gecko ~ # /etc/init.d/udev restart
> Removing udev device nodes: [ OK ]
> Creating initial udev device nodes:[ OK ]
>
> root at gecko ~ # ps
> PID TTY TIME CMD
> 837 pts/12 00:00:00 bash
> 3148 pts/12 00:00:00 udevd
> 9517 pts/12 00:00:00 mysqld_safe
> 9548 pts/12 00:00:00 ps
That has been the case with the mysqld startup script for as long as I
can remeber even knowing about mysql. We use the supplies init.d script.
If your up to it, fix it =)
A daemon starting script like debian has would be nice...
More information about the Lunar-dev
mailing list