mysqld and udev

Jeff Hodges jmhodges at lunar-linux.org
Fri Jun 18 00:36:21 GMT 2004


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
-- 
Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lunar-linux.org/mailman/private/lunar-dev/attachments/20040617/104d7e39/attachment.bin


More information about the Lunar-dev mailing list