I have not looked closer but it may have something in it.

=========================================================

Implemented something easy but useful.  Especially useful if you haven't
already figured out the hard way where these things are kept.


Added output to /etc/init.d/functions (used by all kinds of Mandrake 
scripts) to tell you _where_ the lockfile/pid file is, instead of just 
giving you a cryptic message and leaving you to guess at the name of the
thing and then go find and delete/investigate it.

Wasn't thinking far enough ahead to save a version of the original and
do a 
diff to make a patch (I guess that's how you'd make a patch... never
done 
it...)

But patching is easy:

at or around line 372

change

gprintf "%s dead but pid file exists\n"${base}  (or similar...  I
reverse 
engineered this)

to

gprintf "%s dead but pid file /var/run/%s.pid exists\n" ${base} ${base}

at or around line 378

change

gprintf "%s dead but subsys locked\n" ${base}

to

gprintf "%s dead but subsys (/var/lock/subsys/%s) locked\n" ${base}


www.geocities.com/Paris/Rue/5407/index.html




Reply via email to