-
Notifications
You must be signed in to change notification settings - Fork 16
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
"read_only and user_namespacing may not be combined" - is that really true? #26
Comments
Hey, thanks for trying out my task driver :-) I ported the validation rules directly from the It could be that on your machine using the I guess you could also set Jan |
I did some more exploration and I think you are right. With So I can conclude that In the interest of allowing more powerful setups, I would advocate for allowing this :) These options are also a bit superfluous since most users would want user namespacing. But I can also see the perspective of allowing the maximum compatibility of devices. If that's what you are going for, could we also expose a flag for |
I think the most convenient way for most users would be if the driver could check at runtime which ownership mode is chosen by |
I just committed 77ed615 to |
Hello there,
Thanks for creating this nspawn driver for nomad! I've been playing around with it this weekend :)
I tried to enable
read_only
/volatile
in a container and it refused to start, due to this validation rule:nomad-driver-nspawn/nspawn/nspawn.go
Line 224 in 0217d36
I've looked online and couldn't find any info about this, so I'm curious about your experience with these flags interacting with
-U
. I've not triedvolatile
because of a lack of suitable containers, but runningsystemd-nspawn
directly with-U --read-only
seems to work fine. Has there been a recently change in systemd that made this combination work?Thanks,
xkxx
The text was updated successfully, but these errors were encountered: