Date: Tue, 13 Dec 2005 23:18:06 GMT From: Daniel Feenberg <feenberg@nber.org> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/90368: pxeboot misses ${class} parameter when booting from dhcp (contrary to "man diskless") Message-ID: <200512132318.jBDNI6fu013371@www.freebsd.org> Resent-Message-ID: <200512132320.jBDNK32m014059@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 90368 >Category: kern >Synopsis: pxeboot misses ${class} parameter when booting from dhcp (contrary to "man diskless") >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 13 23:20:03 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Daniel Feenberg >Release: 6.0 RELEASE #0 >Organization: National Bureau of Economic Research >Environment: FreeBSD agebulk2.nber.org 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Dec 1 05:39:4 2 UTC 2005 root@agestore2.nber.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: The man page for "diskless" describes using bootd or dhcpd to distribute to clients a class name which specifies certain files to override defaults in the client /etc and /var directories. However, pxeboot does not support the bootp.kernel_cookie (T134) feature required for this to function with dhcp. Here is the relevant comment from net@freebsd.org by Doug White: >How-To-Repeat: See above. >Fix: I suppose the "bug" could be fixed by changing the documentation or the code but it would be a valuable feature if supported as documented. >Release-Note: >Audit-Trail: >Unformatted: >From my reading of the source, vendor-option 134 is only parsed by the >nfsclient bootp code which is activated with the BOOTP kernel option. If >you want to use that feature via PXE then pxe_open() in >src/sys/boot/i386/libi386/pxe.c needs modification, specifically to parse >the array in bootplayer.d. >pxeboot passes its information via kenv and would require a bit of code >hidden somewhere to convert it into a sysctl to maintain compatibility >with the BOOTP feature. >-- >Doug White | FreeBSD: The Power to Serve >dwhite@gumbysoft.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512132318.jBDNI6fu013371>