summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-05-13 19:00:39 -0500
committerWilliam Hubbs <williamh@gentoo.org>2012-05-13 19:00:39 -0500
commitee1a698451a01772d50a75e95c887520260f8619 (patch)
tree61a099aecb9bf52807bf44e22a913363626d9c78
parent2486eb4989918ff5ef645f2a17fedbec559b9485 (diff)
downloadopenrc-ee1a698451a01772d50a75e95c887520260f8619.tar.gz
openrc-ee1a698451a01772d50a75e95c887520260f8619.tar.bz2
openrc-ee1a698451a01772d50a75e95c887520260f8619.tar.xz
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
-rw-r--r--init.d/localmount.in2
1 files changed, 1 insertions, 1 deletions
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)$"