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".

> but undoubtedly, the problem you point out should be fixed.

That too, yes. :-)  But I think the loop should also not be endless if the
user isn't asked anything.

> > I do not have enough knowledge of the purpose of the script to write a
> > patch just now, but I suppose it's not too hard to fix.
> 
> Easy to fix:
> 
> patch /var/lib/dpkg/info/mdadm.config <<_eof

Well, that'd patch the current version, not the one yet to be unpacked and
installed.  The problem is that the install doesn't succeed, and thus the old
package is still the one which has its config file there.  I'd need to rebuild
the package, which is a bit too much trouble at the moment.

> -          /dev/md[0-9]*|/dev/md_d[0-9]*)
> +          /dev/md[0-9]*|/dev/md_d[0-9]*|/dev/md/[0-9]*|/dev/md/d[0-9]*)

Also, while this would of course solve the "normal" configurations, the
problem would still exist for people who have told udev that their device is
called /dev/md_disk_0 or something.  That may be really rare, but it shouldn't
lead to a hanging install process. ;-)

> and finally try to reboot

I'd prefer not to, I'm quite happy with my >1 year uptime. :-)

Of course if there's a good reason to reboot, I'd do it, but AFAICS things
still work pretty well.

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

Attachment: signature.asc
Description: Digital signature

Reply via email to