projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79471f3
)
base/init: reset PATH after the /run move
author
Harald Hoyer
<harald@redhat.com>
Thu, 31 Mar 2011 12:10:22 +0000
(14:10 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Thu, 31 Mar 2011 12:10:22 +0000
(14:10 +0200)
modules.d/99base/init
patch
|
blob
|
history
diff --git
a/modules.d/99base/init
b/modules.d/99base/init
index
83d9568
..
0f18b44
100755
(executable)
--- a/
modules.d/99base/init
+++ b/
modules.d/99base/init
@@
-373,7
+373,6
@@
info "Switching root"
wait_for_loginit
-export PATH="$OLD_PATH"
if [ -d "$NEWROOT"/run ]; then
mount --move /run "$NEWROOT"/run
@@
-388,6
+387,8
@@
else
umount -l /run
fi
+export PATH="$OLD_PATH"
+
if [ -f /etc/capsdrop ]; then
. /etc/capsdrop
info "Calling $INIT with capabilities $CAPS_INIT_DROP dropped."