[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

On Monday 19 December 2016 00:19:02 Geert Stappers wrote:
> On Sun, Dec 18, 2016 at 11:56:30PM +0100, Geert Stappers wrote:
> > On Sun, Dec 18, 2016 at 10:28:03PM +0100, Pali Rohár wrote:
> > > I know that they are two DHCP requests. Problem is that Debian
> > > installer try to interpret bootfile (returned by second request)
> > > as preseed file even it is not preseed file (but looks like
> > > URL).
> > 
> > The DHCP bootfilename in the second request, the d-i request,
> > should point to a preseedfile ...
> And when it is not a preseedfile
> 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.
> At least the text 'The file may be corrupt' could be changed into
> 'The file is not in expected format or simply corrupt'

Better: The file provided by DHCP bootfile option 67 is not in expected 
Debian preseed format or is simply corrupted.

> Another change might be offering a way to retrieve preseed file from
> another location. (not checked it that is allready existing)

That would be better. The whole problem is that one DHCP option is used 
for several different things and recipients (in this case debian 
installer) cannot distinguish if received option is for them or not.

Pali Rohár

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply to: