chiark / gitweb /
switch-root: remount to MS_PRIVATE
authorLennart Poettering <lennart@poettering.net>
Sat, 11 Aug 2012 23:29:41 +0000 (01:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 11 Aug 2012 23:31:03 +0000 (01:31 +0200)
The kernel does not allow switching roots if things are mounted
MS_SHARED. As a work-around, remount things MS_PRIVATE before switching
roots.

This should be fixed in the kernel for good.

https://bugzilla.redhat.com/show_bug.cgi?id=847418


No differences found