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

Bug#848597: debian-installer: iPXE script in DHCP bootfile option is interpreted as preseed filename

Pali Rohár <pali.rohar@gmail.com> writes:

> Package: debian-installer
> Severity: normal
> Dear Maintainer,
> when DHCP server is configured to send bootfile option with iPXE script
> then debian-installer fails with following "red" error:
>   [!!] Download debconf preconfiguration file
>   Failed to process the preconfiguration file
>   The installer failed to process the preconfiguration file from <bootfile>.
>   The file may be corrupt.
> (where <bootfile> is value of that DHCP option)
> It looks like debian-installer expects that DHCP bootfile option will
> contains correct preseed file. And if that DHCP option contains not
> Debian preseed file, then it show above "red" error message.

Is it the case that iPXE config files are the only things we need to
worry about here?  (seems probable given the lack of previous reports)

If so, we could just check for '#!ipxe' and if found downgrade the error
to a warning, or perhaps to log what happened but otherwise ignore it.

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: