Re: [systemd-devel] [PATCH] switch-root: umount the old root correctly

2014-08-02 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jul 29, 2014 at 03:31:23PM -0400, Dan Dedrick wrote: The unmount occurs after the pivot_root, so the path used to unmount should take into account the new root directory. This will allow the umount to actually succeed. --- src/core/switch-root.c | 4 ++-- 1 file changed, 2

[systemd-devel] [PATCH] switch-root: umount the old root correctly

2014-07-29 Thread Dan Dedrick
The unmount occurs after the pivot_root, so the path used to unmount should take into account the new root directory. This will allow the umount to actually succeed. --- src/core/switch-root.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/switch-root.c