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

attach: handle namespace inheritance #1893

Merged
merged 1 commit into from Nov 7, 2017

Conversation

2 participants
@brauner
Member

brauner commented Nov 1, 2017

We need to have lxc_attach() distinguish between a caller specifying specific
namespaces to attach to and a caller not requesting specific namespaces. The
latter is taken by lxc_attach() to mean that all namespaces will be attached.
This also needs to include all inherited namespaces.

Closes #1890.

Signed-off-by: Christian Brauner christian.brauner@ubuntu.com

@lxc lxc deleted a comment from lxc-jenkins Nov 4, 2017

@lxc lxc deleted a comment from lxc-jenkins Nov 4, 2017

@lxc lxc deleted a comment from lxc-jenkins Nov 4, 2017

attach: handle namespace inheritance
We need to have lxc_attach() distinguish between a caller specifying specific
namespaces to attach to and a caller not requesting specific namespaces. The
latter is taken by lxc_attach() to mean that all namespaces will be attached.
This also needs to include all inherited namespaces.

Closes #1890.
Closes #1897.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>

@lxc lxc deleted a comment from lxc-jenkins Nov 7, 2017

@lxc lxc deleted a comment from lxc-jenkins Nov 7, 2017

@lxc lxc deleted a comment from lxc-jenkins Nov 7, 2017

@lxc lxc deleted a comment from lxc-jenkins Nov 7, 2017

@lxc lxc deleted a comment from lxc-jenkins Nov 7, 2017

@lxc lxc deleted a comment from lxc-jenkins Nov 7, 2017

@lxc lxc deleted a comment from lxc-jenkins Nov 7, 2017

@lxc lxc deleted a comment from lxc-jenkins Nov 7, 2017

@lxc lxc deleted a comment from lxc-jenkins Nov 7, 2017

@lxc lxc deleted a comment from lxc-jenkins Nov 7, 2017

@lxc lxc deleted a comment from lxc-jenkins Nov 7, 2017

@lxc lxc deleted a comment from lxc-jenkins Nov 7, 2017

@hallyn hallyn merged commit 562924d into lxc:master Nov 7, 2017

4 checks passed

Branch target Branch target is correct
Details
Signed-off-by All commits signed-off
Details
Testsuite Testsuite passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment