Skip to contentSkip to conversation

don't wait_for_loginit in emergency_shell()

PATCH In review Will Woods 2 participants 2 messages May 22, 2012 – May 29, 2012 1 message not in the archive

lore
Share & tools
lore

Will Woods

author
#0 lore raw

PATCH 1/2 don't wait_for_loginit in emergency_shell()

wait_for_loginit ends the log; this is unhelpful if you're using emergency_shell to do debugging.

Just leave loginit running. It doesn't hurt anything.

---
 modules.d/99base/dracut-lib.sh |    1 -
 1 file changed, 1 deletion(-)
modules.d/99base/dracut-lib.sh +0 -1
index b6168df..19aceb8 100755
@@ -825,7 +825,6 @@ emergency_shell()
     warn $@
     source_hook "$hook"
     echo
-    wait_for_loginit
     [ -e /run/initramfs/.die ] && exit 1
     if getargbool 1 rd.shell -y rdshell || getarg rd.break rdbreak; then
         echo "Dropping to debug shell."
Signature · 1 line
1.7.10.1

A message that is not in the archive (sent off-list or not yet received): 1337724972-6545-1-git-send-email-wwoods-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org

#2 lore raw

Am 23.05.2012 00:16, schrieb Will Woods:

Quoted 13 lines

wait_for_loginit ends the log; this is unhelpful if you're using emergency_shell to do debugging.

Just leave loginit running. It doesn't hurt anything.

---
 modules.d/99base/dracut-lib.sh |    1 -
 1 file changed, 1 deletion(-)
modules.d/99base/dracut-lib.sh +0 -0
index b6168df..19aceb8 100755

modules.d/99base/dracut-lib.sh emergency_shell() · line 830

Quoted 7 lines
modules.d/99base/dracut-lib.sh +0 -1
@@ -825,7 +825,6 @@ emergency_shell()
     warn $@
     source_hook "$hook"
     echo
-    wait_for_loginit
     [ -e /run/initramfs/.die ] && exit 1
     if getargbool 1 rd.shell -y rdshell || getarg rd.break rdbreak; then
         echo "Dropping to debug shell."

pushed