-
Notifications
You must be signed in to change notification settings - Fork 146
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
DNS resolver broken inside systemd-container #116
Comments
Any news on this issue? I'm facing the same issue |
This workaround might be best as an addition to the recipe because having "resolv.conf" in |
I am using plain Debian, both as host and for the generated image, and the workaround I've suggested does work there - so I guess it won't be a distro problem. But even if my recipe snippet works, I'd suggest that adding explicit resolution configuration to systemd-nspawn, via its --resolv-conf parameter, would be a cleaner way of obtaining the same result. |
116: Misc test improvements r=obbardc a=obbardc - Fix spelling in a unit test name - Don't attempt to recover failed unit tests Co-authored-by: Christopher Obbard <[email protected]>
I've successfully used a debos recipe on my laptop, but the same recipe fails on my home workstation - debootstrap cannot proceed because the container does not resolve DNS names. My problem is maybe related to #101 and #48.
Both machines are Debian Stretch, and I can't find out any relevant difference between the two. Laptop is connected via wifi and workstation via ethernet - don't think it matters, though.
Putting the following action as the first one solves the problem:
This is acceptable as workaround, but I'd say DNS stuff should be entirely handled by debos and not by any recipe.
Antonio
The text was updated successfully, but these errors were encountered: