Bug 1257453 - pxelinux does not work with switchable bootloader support: fetches kernel image from path with incorrect prefix
Summary: pxelinux does not work with switchable bootloader support: fetches kernel ima...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 27.3
Assignee: Martin Styk
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-27 06:10 UTC by Dan Callaghan
Modified: 2020-06-23 08:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-23 08:37:09 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Callaghan 2015-08-27 06:10:22 UTC
If a machine is using the switchable bootloader support and pxelinux.0 is picked as the boot loader (that is, Beaker makes bootloader/<fqdn>/image a symlink to ../../pxelinux.0) then it will try to load kernel+initrd from the wrong path:

bootloader/<fqdn>//images/test3.dcallagh.beakerdevs.lab.eng.bne.redhat.com/kernel

Maybe only affects pxelinux 4.0+ since I noticed this in my Beaker environment (using latest syslinux package from RHEL6) whereas in our other environments I *think* we don't see this problem, and we are using older pxelinux there. Need to double-check.

According to http://www.syslinux.org/wiki/index.php/PXELINUX#Filename_syntax prepending :: to the filenames will make pxelinux ignore the "root" prefix and actually fetch the path that is given as is. This works for pxelinux 4.0. However we would have to check exactly which pxelinux versions that is applicable to before we switched Beaker's netboot configs over to using that.


Note You need to log in before you can comment on or make changes to this bug.