Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 919120 Details for
Bug 1121189
[PATCH] Have yum-cron provide hostname for from email
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to resolve
0001-Have-yum-cron-provide-more-detailed-from-if-left-to-.patch (text/plain), 1.02 KB, created by
Pat Riehecky
on 2014-07-18 15:20:27 UTC
(
hide
)
Description:
patch to resolve
Filename:
MIME Type:
Creator:
Pat Riehecky
Created:
2014-07-18 15:20:27 UTC
Size:
1.02 KB
patch
obsolete
>From d4e0689abd4c4752f72d4dd53c8f609d8e555f68 Mon Sep 17 00:00:00 2001 >From: Pat Riehecky <riehecky@fnal.gov> >Date: Fri, 18 Jul 2014 10:15:37 -0500 >Subject: [PATCH] Have yum-cron provide more detailed 'from' if left to defaults > >--- > yum-cron/yum-cron.py | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/yum-cron/yum-cron.py b/yum-cron/yum-cron.py >index 20911af..d949f89 100755 >--- a/yum-cron/yum-cron.py >+++ b/yum-cron/yum-cron.py >@@ -223,10 +223,12 @@ class EmailEmitter(UpdateEmitter): > # Don't send empty emails > if not self.output: > return >+ # transform 'localhost' into a more specific descriptor >+ email_from = self.opts.email_from.replace('localhost', self.opts.system_name) > # Build up the email to be sent > msg = MIMEText(''.join(self.output)) > msg['Subject'] = self.subject >- msg['From'] = self.opts.email_from >+ msg['From'] = email_from > msg['To'] = ",".join(self.opts.email_to) > > # Send the email >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1121189
: 919120