Please have a look at the wikipage
and change your initscripts to comply with the LSB standard.
Especially check the exit status and add a LSB Header.
E.g. starting a service should return with 0, if the service is already running and stopping a stopped service should also return with 0.
Also check, if your service has to be _on_ per default, and turn it off in the old chkconfig line, if not.
Harald, do these problems realy apply to mimedefang? Finally the initscript is
upstream one, not mine.
It's been my experience that upstream (David Skoll) is pretty reasonable about
accepting patches, if you can provide a rationale for the patch. I don't know
how familiar he is with the LSB in terms of initscripts, so the best way to
bring the mimedefang init script into LSB compliance is probably to do it
yourself and send him the patch.
James, and how familiar are you regarding this? I would try to get the script
LSB compatible but somebody has to review it first, before I blame myself at
upstream, accepted? ;-)
well, just try to get the LSB Header in... these are just comment lines, which
should not hurt.
Robert, if you want, I can throw together an LSB initscript patch for you, and
send it to upstream. Let me know.
James, are you still interested in helping me? If yes, can you please try to
figgure out such a patch? Thank you.
Created attachment 300142 [details]
LSB init.d patch, preliminary
Sorry; I lost track of this bug.
At a minimum, here's a patch that adds the LSB header, and ensures that
mimedefang doesn't automatically run at start.
* SysV-style initscript guidelines
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
Response by upstream: "I've applied the patch; it will be in the next release."