* [PATCH 1/2] don't wait_for_loginit in emergency_shell()
@ 2012-05-22 22:16 Will Woods
[not found] ` <1337724972-6545-1-git-send-email-wwoods-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Will Woods @ 2012-05-22 22:16 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
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(-)
diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
index b6168df..19aceb8 100755
--- a/modules.d/99base/dracut-lib.sh
+++ b/modules.d/99base/dracut-lib.sh
@@ -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."
--
1.7.10.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/2] don't wait_for_loginit in emergency_shell()
[not found] ` <1337724972-6545-1-git-send-email-wwoods-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2012-05-29 9:41 ` Harald Hoyer
0 siblings, 0 replies; 2+ messages in thread
From: Harald Hoyer @ 2012-05-29 9:41 UTC (permalink / raw)
To: Will Woods; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
Am 23.05.2012 00:16, schrieb Will Woods:
> 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(-)
>
> diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
> index b6168df..19aceb8 100755
> --- a/modules.d/99base/dracut-lib.sh
> +++ b/modules.d/99base/dracut-lib.sh
> @@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-29 9:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-22 22:16 [PATCH 1/2] don't wait_for_loginit in emergency_shell() Will Woods
[not found] ` <1337724972-6545-1-git-send-email-wwoods-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-05-29 9:41 ` Harald Hoyer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.