On Wed, Aug 02, 2006 at 11:51:51AM +0200, Bas Wijnen wrote: > On Tue, Aug 01, 2006 at 04:19:34PM +0100, martin f krafft wrote: > > also sprach Bas Wijnen <[EMAIL PROTECTED]> [2006.08.01.1322 +0100]: > > > This, plus the while true, which perhaps should be > > > while [ $ERROR -eq 0 ], leads to the endless loop. > > > > The loop should stay endless, IMHO, to ensure that the user passes > > a proper device string (or 'all' or 'none'). > > The loop being endless if the user actually gets to answer the quesion is > fine. But my debconf priority is higher than "low", so the question isn't > asked at all, it just loops until I hit ctrl-C. > > But you did just point out a workaround. :-) I can just set my debconf > priority to low and fill in "none" or "all".
Hmm, I just tried and it didn't work. I said "all" (which is correct, I have one array which is my root file system). However, it still went to the endless loop (without asking the question again). Actually, wouldn't that happen for any incorrect input? Old questions aren't usually asked again. Some testing shows that I did get further, it is now actually running the postinst (and failing that) instead of the preconfigure. /etc/default/mdadm.conf still mentioned /dev/md/0 though. Changing that to "all" as well made it work. I didn't test the resulting initrd, but looking at the messages I suppose it did the right thing. Thanks, Bas -- I encourage people to send encrypted e-mail (see http://www.gnupg.org). If you have problems reading my e-mail, use a better reader. Please send the central message of e-mails as plain text in the message body, not as HTML and definitely not as MS Word. Please do not use the MS Word format for attachments either. For more information, see http://129.125.47.90/e-mail.html
signature.asc
Description: Digital signature