-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Console path resolution is done in host mount namespace #814
Comments
This is probably a good reason for us to start adding integration tests for user namespaces. |
This happens inside |
The tricky part is getting the pty master back outside of the container after opening it. |
This also links to several old issues with |
Maybe we could use unix sockets to send the |
i don't like unix socket sending fds. i really want to avoid these super containers with live connections going in and out. |
I have two ideas currently:
|
On Wed, Jun 01, 2016 at 07:37:47PM -0700, Aleksa Sarai wrote:
It's not that difficult; ~50 lines for sendfd and recvfd wrappers in |
I said messy and finesse. It's not that it's hard, it's that it'll be a bit of C code we can't touch. |
On Wed, Jun 01, 2016 at 07:47:35PM -0700, Aleksa Sarai wrote:
Why “can't touch”? I'm not even sure what that means :p. |
On Wed, Jun 01, 2016 at 04:41:47PM -0700, Michael Crosby wrote:
Ccon uses an anonymous Unix socket (socketpair(2)) 1 the way runC |
I'm going to be honest, I didn't know about |
On Wed, Jun 01, 2016 at 09:11:02PM -0700, Aleksa Sarai wrote:
That's true of most things, and what test suites are for ;). |
If @crosbymichael is okay with using |
Wait hang on. We already use |
Currently working on the design plan. https://gist.github.com/cyphar/8c6b9db84fc1f2cc2d037ef07942ca83 Here's @crosbymichael's mockup of how you could implement things in a simple C program. https://gist.github.com/crosbymichael/d3045070f0e2615814aaa31e8991d7fd |
Windows: Add CredentialSpec
Through f4d221c (Merge pull request opencontainers#880 from dqminh/wking-linux-only-capabilities-again, 2017-07-05). The rc6 release picked up an earlier version of these notes, and those entries are mostly unchanged except for: * The credentialSpec entry, which was opencontainers#814 for credentialspec and now also includes opencontainers#859 for credentialSpec. * The root(.path) Hyper-V entry, which was opencontainers#820 for root.path and now also includes opencontainers#838 for root. I also moved this into the "breaking changes" section, because rc5 Hyper-V configs required root to be set, and rc6 Hyper-V configs require it to not be set. Although whether rc5 allowed Hyper-V configs at all is not clear to me. * Fixed indenting for the typo-fixes entry, as well as a number of more recent typo-fix PRs. Signed-off-by: W. Trevor King <wking@tremily.us>
[I realised this while trying to get the test suite to run for #774.]
The main issue is that we set up the console in the parent's mount namespace. This breaks quite a few things. In addition,
--console
resolution done in the parent causes things likesu
to not work in containers (because glibc is broken). If you have aconfig.json
like this:/cc @crosbymichael
The text was updated successfully, but these errors were encountered: