Page MenuHomeVyOS Platform

"update dns dynamic" throws FileNotFoundError excepton
Closed, ResolvedPublicBUG

Description

vyos@vyos:~$ update dns dynamic
DEBUG/COMMAND cmd 'sudo systemctl stop ddclient.service'
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/dynamic_dns.py", line 107, in <module>
    main()
  File "/usr/libexec/vyos/op_mode/dynamic_dns.py", line 103, in main
    update_ddns()
  File "/usr/libexec/vyos/op_mode/dynamic_dns.py", line 89, in update_ddns
    os.remove(cache_file)
FileNotFoundError: [Errno 2] No such file or directory: '/run/ddclient/ddclient.cache'

Details

Difficulty level
Easy (less than an hour)
Version
1.3-rolling-202005262006
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Stricter validation

Event Timeline

c-po changed the task status from Open to In progress.May 29 2020, 6:00 PM
c-po claimed this task.
c-po created this task.
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.
c-po moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.6) board.
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.