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(-) (limited to 'init.d/localmount.in') diff --git a/init.d/localmount.in b/init.d/localmount.in index de0b08b3..c432a121 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