Bug 426755

Summary: RFE: report yum actions like RHN does in RHEL
Product: [Fedora] Fedora Reporter: Milan Kerslager <milan.kerslager>
Component: yum-cronAssignee: Habig, Alec <ahabig>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: james.antill
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.7-1.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-22 15:34:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch for cron.daily
none
Patch for /etc/sysconfig/yum-cron none

Description Milan Kerslager 2007-12-25 20:59:21 UTC
I like RHN's (Red Hat Network) summary sended by email when an action has been done.

Here are two patches to allow yum-cron create similar report and send it by
email. This method uses yum capability of simple logging. I'm using this method
since RHEL3 to support my own repositories.

Please extend yum-cron capability. The default behavior has been preserved
(default cron's method by sending output of a conjob by email).

New option can be enabled by uncomenting MAILTO and OPTIONS lines in
/etc/sysconfig/yum-cron file.

Comment 1 Milan Kerslager 2007-12-25 21:02:08 UTC
Created attachment 290383 [details]
Patch for cron.daily

Comment 2 Milan Kerslager 2007-12-25 21:02:54 UTC
Created attachment 290384 [details]
Patch for /etc/sysconfig/yum-cron

Comment 3 Habig, Alec 2008-01-08 19:40:21 UTC
Looks good, working it in now (sorry for the mostly holiday-induced delay).
Will combine with the errorlevel option suggested in bug 426047 and put
something in testing Real Soon Now.


Comment 4 Habig, Alec 2008-01-10 18:20:24 UTC
This (combined with the related request in bug 426047) has been implemented in
yum-cron 0.7-1 in the devel branch, see also
http://koji.fedoraproject.org/koji/buildinfo?buildID=30890

Please try it out.


Comment 5 Fedora Update System 2008-01-11 22:02:00 UTC
yum-cron-0.7-1.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update yum-cron'

Comment 6 Fedora Update System 2008-01-11 22:22:38 UTC
yum-cron-0.7-1.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update yum-cron'

Comment 7 Fedora Update System 2008-01-22 15:34:01 UTC
yum-cron-0.7-1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2008-01-22 15:54:35 UTC
yum-cron-0.7-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.