SA Bugzilla – Bug 2816
Redhat init-script does not set RETVAL on status requests
Last modified: 2004-02-18 10:59:11 UTC
The /etc/init.d/spamassassin shipped with spamassassin does not return RETVAL on exit, instead it always returns zero. This causes problems with tools that automagically monitors running daemons. The attached patch fixes this by setting RETVAL on status-queries and by exiting with RETVAL instead of 0.
Created attachment 1613 [details] Return RETVAL on queries
Subject: Re: [SAdev] Redhat init-script does not set RETVAL on status requests -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >Created an attachment (id=1613) > --> (http://bugzilla.spamassassin.org/attachment.cgi?id=1613&action=view) >Return RETVAL on queries Looks good. Could you sign an Apache CLA so we can incorporate the patch? http://www.apache.org/licenses#clas - --j. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Exmh CVS iD8DBQE/1NvNQTcbUG5Y7woRAgcTAJ47PNyaRxgqCoEOqXIKT2GtA6OuxwCff7Pl HfdOu/F1qbQp8fXhZMWwJJ4= =X70b -----END PGP SIGNATURE-----
I'll fax it tomorrow (tuesday) morning.
Apache CLA was submitted a month ago, any chanse of getting the patch incorporated?
took the example of the status section from sshd and put it in our rc script. :) applied to head.