Detach the hostfs version of /dev #185

Merged
merged 1 commit into from Nov 21, 2016

Conversation

Projects
None yet
2 participants
Collaborator

zyga commented Nov 21, 2016

This patch detaches (aka umount --lazy) or umount2(1) with MNT_DETACH flag the
second /dev that is visible from /var/lib/snapd/hostfs/dev after the pivot_root
call.

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

Detach the hostfs version of /dev
This patch detaches (aka umount --lazy) or umount2(1) with MNT_DETACH flag the
second /dev that is visible from /var/lib/snapd/hostfs/dev after the pivot_root
call.

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

jdstrand commented Nov 21, 2016

LGTM

@zyga zyga merged commit 55c227c into master Nov 21, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@zyga zyga deleted the no-2nd-dev branch Nov 22, 2016

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