Page MenuHomeVyOS Platform

DHCP-provided DNS servers are not propagated to resolv.conf
Closed, ResolvedPublicBUG


The reason is that when the dhclient startup is triggered by a commit, it calls in a special "out of CLI" mode where return_effective_values functions are used, but those functions do not work properly until the commit completes, so there's a race condition.

We may be able to avoid it by checking the lock with functions mentioned in T1503.


Difficulty level
Normal (likely a few hours)
Why the issue appeared?
Implementation mistake

Event Timeline

Possibly a related problem here in T1497, we're still chasing an issue where disable-dhcp-nameservers isn't working on startup.

dmbaturin claimed this task.
dmbaturin triaged this task as Normal priority.
dmbaturin changed Why the issue appeared? from Will be filled on close to Implementation mistake.