Description of problem: On each successful update, yum send email using cron with actually applied updates. I have multiple servers with similar configuration and currently I will get lots of similar messages from yum. Also I receive same information from logwatch and from one of my script, which is searching for differences, so this message from yum is a duplicate of logwatch. Version-Release number of selected component (if applicable): yum-3.4.3-111.fc19.noarch How reproducible: always Actual results: Subject: Anacron job 'cron.daily' on ftp.upjs.sk /etc/cron.daily/0yum-daily.cron: The following updates will be applied on ftp.upjs.sk: ================================================================================ Package Arch Verzia Repozitár Veľ. ================================================================================ Aktualizuje sa: lshw x86_64 B.02.17-2.fc19 updates 272 k nspr x86_64 4.10.1-1.fc19 updates 120 k nss x86_64 3.15.2-1.fc19 updates 852 k nss-softokn x86_64 3.15.2-1.fc19 updates 293 k nss-softokn-freebl x86_64 3.15.2-1.fc19 updates 161 k nss-sysinit x86_64 3.15.2-1.fc19 updates 48 k nss-tools x86_64 3.15.2-1.fc19 updates 461 k nss-util x86_64 3.15.2-1.fc19 updates 68 k perl-Date-Manip noarch 6.41-1.fc19 updates 1.2 M ... Expected results: No mail.
yum-cron-3.4.3-111.fc19 has an option to disable these messages. /etc/yum/yum-cron.conf -> update_messages Simply set it to 'no' and you should stop recieving mail from the process.
(In reply to jcpunk from comment #1) > yum-cron-3.4.3-111.fc19 has an option to disable these messages. > > /etc/yum/yum-cron.conf -> update_messages > > Simply set it to 'no' and you should stop recieving mail from the process. I set this to no 3 days ago. No messages are sent, but no updates are installed 3 days. :-( I set it in yum-cron.conf and yum-cron-hourly-conf too. My settings: [root@work yum]# grep ^[a-z] yum-cron.conf update_cmd = default update_messages = no download_updates = yes apply_updates = yes random_sleep = 0 system_name = None emit_via = stdio ouput_width = 80 email_from = root email_to = root email_host = localhost group_list = None group_package_types = mandatory, default debuglevel = -3 mdpolicy = group:main [root@work yum]# grep ^[a-z] yum-cron-hourly.conf update_cmd = default update_messages = no download_updates = no apply_updates = yes random_sleep = 0 system_name = None emit_via = stdio ouput_width = 80 email_from = root email_to = root email_host = localhost group_list = None group_package_types = mandatory, default debuglevel = -4 mdpolicy = group:main
yum-3.4.3-119.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/yum-3.4.3-119.fc19
yum-3.4.3-119.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/yum-3.4.3-119.fc20
Package yum-3.4.3-119.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing yum-3.4.3-119.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-22706/yum-3.4.3-119.fc20 then log in and leave karma (feedback).
yum-3.4.3-120.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/yum-3.4.3-120.fc19
yum-3.4.3-120.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/yum-3.4.3-120.fc20
I installed new yum yesterday. Until now it's running without messages. Subject: Cron <root@work> run-parts /etc/cron.hourly /etc/cron.hourly/0yum-hourly.cron: Traceback (most recent call last): File "/usr/sbin/yum-cron", line 1154, in <module> main() File "/usr/sbin/yum-cron", line 1151, in main base.updatesCheck() File "/usr/sbin/yum-cron", line 1060, in updatesCheck self.emitAvailable() File "/usr/sbin/yum-cron", line 1085, in emitAvailable map(lambda x: x.updatesAvailable(self.tsInfo), self.emitters) File "/usr/sbin/yum-cron", line 1085, in <lambda> map(lambda x: x.updatesAvailable(self.tsInfo), self.emitters) File "/usr/sbin/yum-cron", line 47, in updatesAvailable self.output.append(self._formatTransaction(tsInfo)) File "/usr/sbin/yum-cron", line 429, in _formatTransaction ninstalled = self.tsInfo.installed AttributeError: 'StdIOEmitter' object has no attribute 'tsInfo'
yum-3.4.3-120.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
yum-3.4.3-122.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/yum-3.4.3-122.fc20
yum-3.4.3-120.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
yum-3.4.3-122.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.