Subject: pkg/31573: databases/mysql4-server rc.d "stop" sometimes doesn't
To: None <email@example.com, firstname.lastname@example.org,>
From: None <email@example.com>
Date: 10/13/2005 06:26:00
>Synopsis: databases/mysql4-server rc.d "stop" sometimes doesn't
>Arrival-Date: Thu Oct 13 06:26:00 +0000 2005
>Originator: Amitai Schlair
>Release: NetBSD 2.0.2_STABLE
System: NetBSD ays2105-mood-tooth.apt.columbia.edu 2.0.2_STABLE NetBSD 2.0.2_STABLE (GENERIC) #1: Tue Apr 26 03:33:47 EDT 2005 firstname.lastname@example.org:/home/schmonz/builds/2-0-i386/obj/home/schmonz/netbsd/src-2-0/sys/arch/i386/compile/GENERIC i386
Sometimes "/etc/rc.d/mysqld stop" doesn't fully stop mysqld. When
this happens, it detects a PID, kills it, and claims to have stopped
the daemon, but running "/etc/rc.d/mysqld status" shows it running
under a different PID, and running "/etc/rc.d/mysqld stop" again
kills that PID (and really stops mysqld).
Not sure. In my usage, the above seems to happen most of the time
I want to restart mysql, but I can't make it happen a second time:
after the above occurs, "/etc/rc.d/mysqld start" followed by
"/etc/rc.d/mysqld stop" stops it on the first try.
Unknown, sorry. Workaround: loop on "/etc/rc.d/mysqld stop" until
it's really not running.
This probably affects the other MySQL server packages, too.