Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=227756
Summary: spamassassin needs restart only if sa-update returns 0 Product: Fedora Core Version: fc6 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: normal Component: spamassassin AssignedTo: wtogami@redhat.com ReportedBy: milan.kerslager@pslib.cz CC: fedora-perl-devel- list@redhat.com,felicity@kluge.net,jm@jmason.org,parkerm @pobox.com,reg+redhat@sidney.com,wtogami@redhat.com
sa-update returns 1 if there is no update available sa-update returns 0 if update has been succesfull
Please change /usr/share/spamassassin/sa-update.cron to not restart spamassassin when there is no change in the updated rules.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: spamassassin needs restart only if sa-update returns 0
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=227756
------- Additional Comments From wtogami@redhat.com 2007-02-07 17:43 EST ------- Nice catch, adding this to the package...
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: spamassassin needs restart only if sa-update returns 0
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=227756
------- Additional Comments From wtogami@redhat.com 2007-02-07 17:47 EST ------- Please double-check me... sa-update.cronscript now reads: #!/bin/bash
sleep $(expr $RANDOM % 7200) echo SpamAssassin rule update begins at `date` # Only restart spamd if sa-update returns 0, meaning it updated the rules /usr/bin/sa-update && /etc/init.d/spamassassin condrestart echo
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: spamassassin needs restart only if sa-update returns 0
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=227756
------- Additional Comments From milan.kerslager@pslib.cz 2007-02-07 18:24 EST ------- This seems to be correct.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: spamassassin needs restart only if sa-update returns 0
https://bugzilla.redhat.com/show_bug.cgi?id=227756
bugzilla@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |medium Priority|normal |medium Product|Fedora Core |Fedora Version|fc6 |6
kevin@tummy.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |RAWHIDE
------- Additional Comments From kevin@tummy.com 2008-03-15 21:17 EST ------- Can this be closed now? This looks to have been updated long ago...
Feel free to file a new bug, or re-open if you see any further issues.
perl-devel@lists.fedoraproject.org