Page MenuHomeVyOS Platform

Restart dns forwarding broken?
Closed, ResolvedPublicBUG

Description

Hi,

I'm getting this when trying to restart DNS forwarding:

restart dns forwarding 
DEBUG vexit_internal: calling cfgPathExists() without config session
/usr/libexec/vyos/op_mode/dns_forwarding_restart.sh: line 8:  3272 Segmentation fault      cli-shell-api exists service dns forwarding
DNS forwarding is not configured

Config

restart dns forwarding 
DEBUG vexit_internal: calling cfgPathExists() without config session
/usr/libexec/vyos/op_mode/dns_forwarding_restart.sh: line 8:  3272 Segmentation fault      cli-shell-api exists service dns forwarding
DNS forwarding is not configured

DNS forwarding does work but restart seems to be broken.

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.2.0-rolling+201807050337
Why the issue appeared?
Will be filled on close

Event Timeline

That's my punishment for the sin of only testing op mode commands from conf mode.

I should have used existsEffective rather than exists, fixed now.

syncer claimed this task.
syncer edited projects, added VyOS 1.2 Crux (VyOS 1.2.0-rc1); removed VyOS 1.2 Crux.
syncer moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.0-rc1) board.