Description of problem:
When say yum-updatesd to send mails when updates are available, then the subject
field of the resulting mail are not very informative, because it only say: "XXX
Updates Available". When you have many systems, then it will become very
unclear, because you can't see witch system it is, when you get many mails.
It will be much better, when the subject line will called:"[systemname] XXXX
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. set in the file /etc/yum/yum-updatesd.conf emit_via = email dbus
2. wait for new updates available
You get an mail without the system name in the subject field
That the mail contains the system name in the subject field.
I have read the man page, but I can't find an option for that.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
Development Management has reviewed and declined this request. You may appeal
this decision by reopening this request.
Again didn't want to do that.
After reviewing the stats with James on 5-February-2008, given the fix isn't
upstream yet but is expected to be resolved in Fedora9 GA, I've stripped the
rhel-5.2.0 flags and set the rhel-5.3.0 and pm_ack flags to '?'.
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release. Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products. This request is not yet committed for inclusion in
with yum-updatesd from RHEL5.8 the subject already contain the hostname.
Seems there is nothing to do for RHEL5.9. Could you please confirm?
# rpm -q yum-updatesd
# cat /var/spool/mail/bz321231user
Subject: yum: 1 Updates Available (on XXX.YYY.redhat.com)
Date: Thu, 28 Jun 2012 07:59:21 GMT
This is the automatic update system on XXX.YYY.redhat.com.
There are 1 package updates available. Please run the system updater.
Packages available for update:
Yeh, the yum-updatesd I see in git for 5.9 has this subject for all emails it sends:
msg['Subject'] = "yum: %s (on %s) " % (subject, socket.gethostname())
...and AFAICS this hasn't changed since RHEL-5.0. So I'm a bit confused.