Reported via Slack
Traceback (most recent call last): File "/usr/libexec/vyos/op_mode/dynamic_dns.py", line 102, in <module> show_status() File "/usr/libexec/vyos/op_mode/dynamic_dns.py", line 43, in show_status with open(cache_file, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/run/ddclient/ddclient.cache'
To reproduce use:
vyos@vyos# set service dns dynamic interface eth1 use-web url http://foo.bar vyos@vyos# commit
vyos@vyos:~$ show dns dynamic status Traceback (most recent call last): File "/usr/libexec/vyos/op_mode/dynamic_dns.py", line 102, in <module> show_status() File "/usr/libexec/vyos/op_mode/dynamic_dns.py", line 43, in show_status with open(cache_file, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/run/ddclient/ddclient.cache'