[Yum-devel] [PATCH 04/10] Minor changes to default yum-cron settings.

Matthew Miller mattdm at mattdm.org
Fri Jul 29 02:00:01 UTC 2011

This sets MAILTO to root by default, instead of empty. The script still
checks for the presence of the mail program, so it doesn't add an additional
dependency, and basic behavior is the same (since cron sends mail to root by
default anyway), but the meaningful subject line is just _better_.

Second, DEBUG_LEVEL is set to 1, so that a useful, basic amount of
information is included in the updates.
 yum-cron/yum-cron.sysconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/yum-cron/yum-cron.sysconfig b/yum-cron/yum-cron.sysconfig
index df1bcfc..a689446 100644
--- a/yum-cron/yum-cron.sysconfig
+++ b/yum-cron/yum-cron.sysconfig
@@ -37,13 +37,13 @@ ERROR_LEVEL=0
 # more output. Level 1 is a useful level if you want to see what's been
 # done and don't want to read /var/log/yum.log. Level 0 is the default
 # if no value is set here.
 # If MAILTO is set and the /bin/mail command is available, the mail
 # command is used to deliver yum output. If MAILTO is unset, crond will
 # send the output by itself, usually to root (but with a less useful
 # subject line).
 # The reports generated by this command generally use the hostname of
 # the system as reported by the hostname command. If you'd prefer to

More information about the Yum-devel mailing list