[PATCH] yum-cron: only_report_errors option to turn off update summaries. BZ 1018068

James Antill james at fedoraproject.org
Fri Oct 11 20:32:01 UTC 2013


On Fri, 2013-10-11 at 09:51 +0200, Zdenek Pavlas wrote:
> ---
>  etc/yum-cron.conf    | 6 +++++-
>  yum-cron/yum-cron.py | 6 ++++--
>  2 files changed, 9 insertions(+), 3 deletions(-)

 This seems bad to have a config. for "give me update messages" and then
another one saying "no really give me the messages".

 Maybe it would be useful if we could somehow say "you don't get
anything emailed to you, if everything worked fine, but if any warn+
messages happened you'll see all of the text". And then have
updates_messages=errors trigger that.
 We could maybe do something based on history (Eg. have two other
options for update_messages=history and update_messages=history-errors).
Which ran everything "silently" but then emailed "yum history info
last" (always, or only if not clean).

 On the other side maybe we should just decouple update_messages from
the current flow, so you could have updates_messages=no and still have
apply_updates=yes mean something.



More information about the Yum-devel mailing list