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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla-redhat@xxxxxxxxxxx
                   |                            |m

--- Comment #21 from Brian <bugzilla-redhat@xxxxxxxxxxxx> 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.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux