Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/etc/resolv.conf fails to be populated #949

Closed
quanah opened this issue Aug 13, 2020 · 1 comment
Closed

/etc/resolv.conf fails to be populated #949

quanah opened this issue Aug 13, 2020 · 1 comment

Comments

@quanah
Copy link

quanah commented Aug 13, 2020

There is no requirement for a dns domain to be populated, however if one is not defined in /usbkey/config, the smartos hypervisor fails to populate /etc/resolv.conf breaking name resolution within the hypervisor. i.e.:

....
dns_resolvers=8.8.8.8
dns_domain=""

results in a broken system. This appears to be due to a bug in /lib/svc/method/net-physical, where it checks for:

if [[ -n ${CONFIG_dns_domain} ]] && [[ -n ${CONFIG_dns_resolvers} ]]; then
@quanah
Copy link
Author

quanah commented Aug 13, 2020

duplicate of #948 which I didn't realize was even created because GH threw a 404 error when I first tried to create. ;)

@quanah quanah closed this as completed Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant