From ee1a698451a01772d50a75e95c887520260f8619 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sun, 13 May 2012 19:00:39 -0500 Subject: do not umount /usr on linux systems We can't really umount /usr on linux systems because /usr is a special case if it is a separate filesystem which is handled by an initramfs. reported-by: tamiko+GENTOO@kyomu.43-1.org X-Gentoo-Bug: 415523 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=415523 --- init.d/localmount.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/localmount.in b/init.d/localmount.in index de0b08b..c432a12 100644 --- a/init.d/localmount.in +++ b/init.d/localmount.in @@ -48,7 +48,7 @@ stop() done if [ "$RC_UNAME" = Linux ]; then - no_umounts_r="$no_umounts_r|/proc|/proc/.*|/run|/sys|/sys/.*" + no_umounts_r="$no_umounts_r|/proc|/proc/.*|/run|/sys|/sys/.*|/usr" fi no_umounts_r="^($no_umounts_r)$" -- cgit v1.2.3