Red Hat Bugzilla – Bug 449313
yum-updatesd generates bad emails
Last modified: 2014-01-21 18:03:02 EST
The current yum-updatesd code puts some crud in the email that upsets
spamassassin (and possibly other systems), easily getting the emails flagged as
The problem is that this line is included among the headers:
From nobody Mon Jun 2 08:00:28 2008
The solution is to replace str(msg) with msg.as_string() in yum-updatesd-helper.
This is needed on F8, F9 and rawhide.
Pushed upstream, will try to get a build done for things in the next day or two
I'm curious - what does msg.as_string() end up doing differently than str(msg)
and should we be filing a bug w/python about making them vaguely resemble the
str(msg) adds that "From nobody" line. As it does not have a colon, most parsers
will consider it part of the body and ignore all the real headers (which come
So you get crap like this when spamassassin sees it:
X-Spam-Status: No, score=3.8 required=5.0 tests=ALL_TRUSTED,BAYES_50,
What's the status here? It's a bit annoying having to dig the reports out of the
spam folder... :/
It's been committed to yum-updatesd upstream - but an update hasn't been issued.
I'm not sure what the plan is for yum-updatesd for the future.
Jeremy? You have any thoughts?
jantill was going to do releases now
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
This bug was opened and supposedly solved over six months ago. What's the hold-up in getting this into the distribution?
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
The problem still exists in F11. Why? The bug was opened 1 year ago.
it's still open, most likely, b/c no one is really working on yum-updatesd anymore. It's functionality has been superseded by packagekit in many ways.
PackageKit is good for desktops, but I'm using yum-updatesd on a couple of headless virtual machines and don't want to install all the dependencies (libX* amongst others, 52 packages in total just for "yum install /usr/bin/pkcon"). I guess I'll have to patch the helper script on every machine or develop my own light-weight update-checking system.
So there are a couple of things that yum-updatesd does:
1. Regularly schedule metadata refreshes, and (if configured) downloads/installs of packages.
2. Talk to "small" utilities over DBUS, mostly to provide notification on the desktop (desktop icons etc.).
3. Provide non-DBUS notification (syslog/email) of updates needed.
#1 and #2 are done via. PackageKit atm. on Fedora.
#1 and #3 are more commonly done via. yum-cron (no real data to back this up, but that's my guess).
...now it's possible that #1 and #3 could be done better than yum-cron does it, but yum-updatesd isn't it and I see no real value in doing #2 in the same application (even if PK is replaced, you don't want to go from one single point of failure to another).
If you care enough about yum-updatesd to improve it then it'll be pretty trivial to get ownership of it in Fedora. Otherwise I'd probably recommend you look at yum-cron and maybe contribute any features you want there.
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '10'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 10's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 10 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.