dhcpcd-discuss

Re: nonstandard options missing from --dumplease in 6.10.1

JED

Wed Oct 18 23:16:14 2017

what might be useful is versions of stuff, from my Pi and Stretch:
pi@piStretch:~ $ dhcpcd --version
dhcpcd 6.11.5
Copyright (c) 2006-2016 Roy Marples
Compiled in features: INET IPv4LL INET6 DHCPv6 AUTH
pi@piStretch:~ $ ver
Linux 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
Hope this helps

On 10/18/2017 6:18 PM, Mike McCabe wrote:
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.1Mike McCabe
References:
nonstandard options missing from --dumplease in 6.10.1Mike McCabe
Archive administrator: postmaster@marples.name