[Bug 561568] (amavisd noisy?) sa-update.cron generating errors

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 31 19:18:00 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=561568

Brian <bugzilla-redhat at brianneu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla-redhat at brianneu.co
                   |                            |m

--- Comment #21 from Brian <bugzilla-redhat at brianneu.com> 2010-03-31 15:17:55 EDT ---
As a cheap, utterly foul, best of bad practices fix, I did this:

if [ $? -eq 0 ]; then
    /sbin/service spamassassin condrestart > /dev/null
#    [ -f /etc/init.d/amavisd ] && /sbin/service amavisd condrestart >
/dev/null
    [ -f /etc/init.d/amavisd ] && /sbin/service amavisd condrestart 2>&1 |grep
-v "Waiting for the process\|terminated by SIGTERM\|OK\|amavisd
stopped\|Starting amavisd\|^$"
    [ -f /var/run/mimedefang.pid ] && /sbin/service mimedefang reload >
/dev/null
fi


It is a problem with the /etc/init.d/amavisd script and should be sent to that
maintainer as the script doesn't follow best practices for silencing non-error
output.  (listen to me. hahahaha )

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the perl-devel mailing list