Page MenuHomeVyOS Platform

Vyos 1.2.6-S1 DNS Server does not restart automatically on commit
Closed, ResolvedPublicBUG

Description

When making changes to static-host-mapping in Vyos 1.2.6-S1 (with the updated pdns_recursor package) the following error is shown on commit:

[ system static-host-mapping ]
sh: /etc/init.d/pdns-recursor: No such file or directory

The router is correctly reporting that /etc/init.d/pdns-recursor doesn't exist - it appears to have been removed when the fix for CVE-2020-10995 was deployed.

It is also found by checking against the router's DNS service using dig that it will return entries from the DNS that were deleted. So it appears that in 1.2.6-S1 the DNS service is not being restarted.

A manual fix for this problem is to issue:

tim@ferrari:~$ restart dns forwarding

Which correctly restarts the DNS service and ensures that the commited configuration is reflected when the router is queried using dig.

Details

Difficulty level
Unknown (require assessment)
Version
1.2.6-S1
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Perfectly compatible

Event Timeline

kroy changed the task status from Open to Needs testing.Oct 1 2020, 6:29 PM
kroy claimed this task.
kroy triaged this task as Unbreak Now! priority.
kroy added a subscriber: kroy.

This PR should correct it. Fortunately it appears that that this node was the only place this existed.

dmbaturin removed a project: Restricted Project.
dmbaturin changed Why the issue appeared? from Will be filled on close to Implementation mistake.
dmbaturin changed Is it a breaking change? from Behavior change to Perfectly compatible.