Several other major cloud guest images use motd to show that security updates are available on login. We'd like to do the same, and yum-cron seems like the sensible place to put this.
Sounds reasonable. How'd you want to enable this? "emit_via = motd"? (we already support multiple emitters) There should probably be some /etc/motd.template we put a formatted transaction info into.. Could you be more specific how this should work?
(In reply to Zdeněk Pavlas from comment #1) > Sounds reasonable. How'd you want to enable this? "emit_via = motd"? (we > already support multiple emitters) There should probably be some > /etc/motd.template we put a formatted transaction info into.. Could you be > more specific how this should work? "emit_via = motd" makes sense, as does a template. Other Linux distros have a complicated motd templating system in place already. In the absence of a generalized template system, I think this should probably use a template that just belongs to yum-cron.
Taking this over to DNF as the Yum implementation is not planned.
> Taking this over to DNF as the Yum implementation is not planned. What is dnf equivalent of yum-cron?
(In reply to Alan Pevec from comment #4) > > Taking this over to DNF as the Yum implementation is not planned. > > What is dnf equivalent of yum-cron? http://dnf.readthedocs.org/en/latest/automatic.html
Explained by comment 5, thank you Tim.
I added the initial support for a motd emitter in dnf-automatic. The PR request can be found at [1]. [1] https://github.com/rpm-software-management/dnf/pull/174
dnf-0.6.3-2.fc21,dnf-plugins-core-0.1.4-1.fc21,hawkey-0.5.2-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/dnf-0.6.3-2.fc21,dnf-plugins-core-0.1.4-1.fc21,hawkey-0.5.2-1.fc21
Package dnf-0.6.3-2.fc21, hawkey-0.5.2-1.fc21, dnf-plugins-core-0.1.4-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnf-0.6.3-2.fc21 hawkey-0.5.2-1.fc21 dnf-plugins-core-0.1.4-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-16760/dnf-0.6.3-2.fc21,dnf-plugins-core-0.1.4-1.fc21,hawkey-0.5.2-1.fc21 then log in and leave karma (feedback).
dnf-0.6.3-2.fc21, hawkey-0.5.2-1.fc21, dnf-plugins-core-0.1.4-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.