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

Bug#907814: Absolute PXE paths do not work



Package: pxelinux
Version: 3:6.04~git20171011.af7e95c3+dfsg1-4
Severity: normal

With this configuration:

dhcp-option=option:bootfile-name,/pxelinux/lpxelinux.0
dhcp-option-force=209,/syslinux.cfg

I expected that pxelinux would try to download /syslinux.cfg and not
/pxelinux//syslinux.cfg:

dnsmasq-tftp: sent /tmp/boot/pxelinux/lpxelinux.0 to 10.5.0.5
dnsmasq-tftp: sent /tmp/boot/pxelinux/ldlinux.c32 to 10.5.0.5
dnsmasq-tftp: file /tmp/boot/pxelinux//syslinux.cfg not found
dnsmasq-tftp: file /tmp/boot/pxelinux/pxelinux.cfg/01-52-54-00-12-34-56 not found
...
dnsmasq-tftp: file /tmp/boot/pxelinux/pxelinux.cfg/default not found

as apparently documented in 
https://www.syslinux.org/wiki/index.php?title=Config#Working_directory:

  All (paths to) file names inside the configuration file are relative to 
  the Working Directory, unless preceded with a slash.

Even if the value of option 209 is not "inside a configuration file" 
I think it should work the same way for consistency, and the "//" is an 
hint that absolute paths processing is missing here.

My goal here is to be able to have a directory with all the common 
pxelinux binaries not mixed with the configuration files.

-- 
ciao,
Marco

Attachment: signature.asc
Description: PGP signature


Reply to: