overlord/snapstate/backend,interfaces/mount: move ns management code. #3234

Merged
merged 3 commits into from May 2, 2017

Conversation

Projects
None yet
3 participants
Contributor

zyga commented Apr 25, 2017

This patch moves two functions for managing mount namespaces to the
mount interface. This is done because the update-ns call has to be done
from within the mount backend and the original location was picked
because the overlord makes one call to discard-ns and, at that time, the
mount backend was much more empty.

Signed-off-by: Zygmunt Krynicki zygmunt.krynicki@canonical.com

overlord/snapstate/backend,interfaces/mount: move ns management code.
This patch moves two functions for managing mount namespaces to the
mount interface. This is done because the update-ns call has to be done
from within the mount backend and the original location was picked
because the overlord makes one call to discard-ns and, at that time, the
mount backend was much more empty.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

mvo5 approved these changes Apr 26, 2017

zyga added some commits Apr 27, 2017

LGTM.

@stolowski stolowski merged commit 07182f7 into snapcore:master May 2, 2017

6 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
xenial-amd64 autopkgtest finished (success)
Details
xenial-i386 autopkgtest finished (success)
Details
xenial-ppc64el autopkgtest finished (success)
Details
yakkety-amd64 autopkgtest finished (success)
Details
zesty-amd64 autopkgtest finished (success)
Details

@zyga zyga deleted the zyga:feature/update-ns/ns-mgmt-code branch Aug 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment