* Better error handling
@ 2010-10-06 11:39 Harald Hoyer
[not found] ` <4CAC600C.7040309-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Harald Hoyer @ 2010-10-06 11:39 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
While talking to David Zeuthen, he mentioned that our current error handling is
not very user friendly and I agree.
Presenting the user the message "Boot has failed, sleeping forever." does not
really help.
Instead of displaying the message, we could:
- turn "rdshell" into "rd.no_shell" and drop to a shell by default.
Admins with security concerns will lock grub with a password, and can add
the "rd.no_shell" parameter.
- add simple tools to present the user a list of mountable partitions, assemble
lvms, md, dmraid and mount network devices.
What do you think?
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <4CAC600C.7040309-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: Better error handling [not found] ` <4CAC600C.7040309-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> @ 2010-10-06 13:45 ` Amadeusz Żołnowski 0 siblings, 0 replies; 2+ messages in thread From: Amadeusz Żołnowski @ 2010-10-06 13:45 UTC (permalink / raw) To: initramfs [-- Attachment #1: Type: text/plain, Size: 1110 bytes --] Excerpts from Harald Hoyer's message of Wed Oct 06 13:39:56 +0200 2010: > Presenting the user the message "Boot has failed, sleeping forever." does not > really help. > > Instead of displaying the message, we could: > > - turn "rdshell" into "rd.no_shell" and drop to a shell by default. > Admins with security concerns will lock grub with a password, and can add > the "rd.no_shell" parameter. Wouldn't it be a problem for "admins with security concerns" anyway? > - add simple tools to present the user a list of mountable partitions We already have functions probing devices, so adding this feature would be quite easy. It might be useful. I can handle this if people are looking forward for that feature. A few my ideas: 1) Warning message on boot when option in 'rd' namespace isn't used, e.g. when module using this option isn't included. 2) We have too much and too little info about what's going on - we have either full debug or none. I'd suggest having logging levels. 3) Printing, which module is being sourced, by default. Cheers, -- Amadeusz Żołnowski PGP key: E1DBFAB5 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 490 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-06 13:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-06 11:39 Better error handling Harald Hoyer
[not found] ` <4CAC600C.7040309-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-10-06 13:45 ` Amadeusz Żołnowski
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.