dhcpcd-discuss

nonstandard options missing from --dumplease in 6.10.1

Mike McCabe

Wed Oct 18 22:18:53 2017

Hi all -

Our organization maintains a large fleet of pxe-booted raspberry pis.  We
transmit some environment information to them via DHCP options.  We're
evaluating a switch from Raspbian Jessie (dhcpcd 6.7.1)  to Stretch (dhcpcd
6.10.1).

We use 'dhcpcd --dumplease eth0' to read the custom options, but they're
missing from 6.10.1 output.  Conf files are unchanged.  'od -a
/var/lib/dhcpcd5/dhcpcd-eth0.lease' on the client shows text from the
custom options (e.g. 'demo', below)

/etc/dhcpcd.conf on client has:
define 239 string vium-env
option vium-env

/etc/dhcp/dhcpd.conf on server has
option vium-env code 239 = text;
option vium-env "demo";

... and 6.7.1 shows

vium-env='demo'

... but 6.10.1 does not.

Is this a known issue?

Any help appreciated!
Thanks -
Mike

Follow-Ups:
Re: nonstandard options missing from --dumplease in 6.10.1Roy Marples
Re: nonstandard options missing from --dumplease in 6.10.1JED
Archive administrator: postmaster@marples.name