On Tue, Apr 26, 2016 at 12:06:42PM -0500, Pat Riehecky wrote: > On 04/26/2016 11:59 AM, Dan McDaniel wrote: > >Is there any way to get yum-cron to read environment variables? There > >doesn't seem to be anyway in /etc/yum/yum-cron.conf. They seem to expect > >you to edit that file on every single system. > > > >I want to change the email_from setting because getting 100 emails all > >from "root@localhost" is less than helpfull. On 6.x the emails came from > >root@$HOSTNAME, but I can't find any way to make this work on 7.x. > > > >Am I missing something simple? > > > > Alas no you are not missing anything: > https://bugzilla.redhat.com/show_bug.cgi?id=1121189
Use the much better yum-autoupdate from CERN instead: http://www.triumf.info/wiki/DAQwiki/index.php/SLinstall#Enable_automatic_system_updates_.28CentOS7.29 -- Konstantin Olchanski Data Acquisition Systems: The Bytes Must Flow! Email: olchansk-at-triumf-dot-ca Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada
