Red Hat Bugzilla – Bug 1314961
dnf-automatic crashes when 'None' emitter is used
Last modified: 2016-10-04 14:03:37 EDT
Description of problem:
Use below setting in /etc/dnf/automatic causes it to crash since if the emitter specified wasn't motd, stdio, email it will "assert False" in "/usr/lib/python3.4/site-packages/dnf/automatic/main.py", line 61
# If emit_via is None or left blank, no messages will be sent.
emit_via = None
#/usr/bin/dnf-automatic /etc/dnf/automatic.conf --timer
Traceback (most recent call last):
File "/usr/bin/dnf-automatic", line 32, in <module>
File "/usr/lib/python3.4/site-packages/dnf/automatic/main.py", line 154, in main
emitters = build_emitters(conf)
File "/usr/lib/python3.4/site-packages/dnf/automatic/main.py", line 61, in build_emitters
Changing the emitter to email allows the command to succeed.
Version-Release number of selected component (if applicable):
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
PR was created: https://github.com/rpm-software-management/dnf/pull/556
Option left blank like "emitter = " should work too, but it worked like that before.