-
Notifications
You must be signed in to change notification settings - Fork 100
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
Rootless config generates invalid mount for /etc/resolv.conf #294
Comments
The EDIT: Yes, the issue is that |
I tried adding an empty
However, if I change the mount to EDIT: I'm fairly sure it's due to how |
Right, yeah this sounds familiar. opencontainers/runc#1753 should have fixed this (previously we'd treated The solution from the |
What's really odd is that this definitely worked for a very long time -- there must've been a I've submitted opencontainers/runc#2035 which will fix the upstream issue, as well as openSUSE/umoci#295 which will fix the downstream issue in (I do plan to use |
Thanks. Wrangled a Go build[1], and seems to work. Expectedly, but still. [1] The makefile is, for some reason, trying to install into /usr/bin/ instead of ~/bin/ |
Using
umoci unpack --rootless
(orumoci raw config --rootless
), an extra mount is generated for/etc/resolv.conf
, with"type": "none"
1. This causesrunc
to parse the mount with the default (directory) behavior 2, trying to create the destination as a directory instead of a file 3.TBH, not sure if this is a runtime spec problem, a
runc
mount parsing problem, or aumoci
config generation problem, but I'm guessing it's most easily fixed here.To reproduce:
umoci --version
runc --version
The text was updated successfully, but these errors were encountered: