[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: d-i bug: spurious checksum error?



Charles Curley <charlescurley@charlescurley.com> writes:

> I started a test installation with a preseed file. I launched d-i with
> the following command line:
>
> expertgui auto file=/media/preseed.cfg DEBCONF_DEBUG=developer

According to the log, you actually invoked it with file=preseed.cfg:

  Kernel command line: BOOT_IMAGE=/install.386/vmlinuz priority=low vga=788 initrd=/install.386/gtk/initrd.gz ---  auto file=preseed.cfg DEBCONF_DEBUG=developer

which appears to have confused the installer into looking for it in
'/usr/lib/fetch-url//preseed.cfg':

  /bin/fetch-url: .: line 35: can't open '/usr/lib/fetch-url//preseed.cfg': No such file or directory

which isn't exactly helpful, and it certainly could have done better
when telling you what was wrong, but it's not at all clear that it was
going to be able to guess that you meant '/media/preseed.cfg' when you
said 'preseed.cfg'.

So, I'd say there's perhaps a bug in what it should guess the user meant
when specifying a relative path as a value for preseed/file, but
probably more likely it should just reject a relative path at that point
with an error about it needing a path that is somehow anchored.

Cheers, Phil.
-- 
|)|  Philip Hands  [+44 (0)20 8530 9560]  HANDS.COM Ltd.
|-|  http://www.hands.com/    http://ftp.uk.debian.org/
|(|  Hugo-Klemm-Strasse 34,   21075 Hamburg,    GERMANY

Attachment: signature.asc
Description: PGP signature


Reply to: