Hi,

> so, would you not consider this bug closed if this trivial workaround
> were provided?

No, I would consider it fixed if the wrapper is modified such that this
works. The patch I sent was incomplete, but not too difficult to fix.

You need to make two changes to the wrapper.
First, upon recieving a signal you need to make a clean shutdown.
My first patch assumed that $defaults is set, but it doesn't include
"--defaults-extra-file=/etc/mysql/debian.cnf", thats one reason it
didn't work.
The second reason is that you need to use wait(), to be able to recieve
signals on your own.

Attached is a new diff; its untested (again...) because I'm short on
time. I had tested that before, described in my mail dated
Date: Mon, 10 Jan 2005 02:59:31 +0100

As you can tell from
http://smarden.org/runit/runscripts.html#mysql
it seems you can run mysql without the wrapper. Maybe Debian doesn't
really need the wrapper either, but should just do the appropriate
things in its init script?

Greetings,
Erich Schubert
-- 
     erich@(vitavonni.de|debian.org)    --    GPG Key ID: 4B3A135C     (o_
 A man doesn't know what he knows until he knows what he doesn't know. //\
   Es gibt wenig aufrichtige Freunde. Die Nachfrage ist auch gering.   V_/_
                     --- Marie von Ebner-Eschenbach



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to