Page MenuHomeVyOS Platform

Trying to delete 'system syslog' throws an exception/traceback
Closed, ResolvedPublic


While trying to create a minimal config to reproduce an issue, I tried to delete system ntp|syslog. Removing the syslog config gives the following exception/traceback:

vyos@vyos# delete system ntp 
vyos@vyos# delete system syslog 
vyos@vyos# commit
[ system syslog ]
Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/", line 282, in <module>
  File "/usr/libexec/vyos/conf_mode/", line 228, in generate
    config_text = tmpl.render(c)
  File "/usr/lib/python3/dist-packages/jinja2/", line 1003, in render
    vars = dict(*args, **kwargs)
TypeError: 'NoneType' object is not iterable

delete [ system syslog ] failed
Commit failed

Maybe the syslog configuration is not indeded to be removed but there could be some nicer warning/error about this


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close

Event Timeline

varesa created this task.
varesa created this object in space S1 VyOS Public.
hagbard changed the task status from Open to In progress.Mar 11 2019, 9:41 PM
hagbard claimed this task.

journalctl needs systlsog since it's supposed to it's messages there, so the above commands won't stop rsyslog, but I'll fix the error for the cli.

hagbard changed the task status from In progress to Needs testing.Mar 11 2019, 10:16 PM or tonights rolling. systelog will still run and will log journalctl messages.