Summary:
DHCPv6 client fails to start in 1.4.1 for users making use of DHCPv6 client configuration with a custom DUID specified.
Workaround:
- Delete the DUID configuration (note this may not be an option if your service requires a specific DUID)
- Downgrade to 1.4.0
Detail:
Example Interface Configuration:
set interfaces ethernet eth0 dhcpv6-options duid '00:04:ce:af:52:cf:6b:c7:48:e4:9d:ee:3e:77:3d:69:bf:56'
Generates /var/run/dhcp6c/dhcp6c.eth0.conf with:
send client-id 00:04:ce:af:52:cf:6b:c7:48:e4:9d:ee:3e:77:3d:69:bf:56;
Which is the configuration line producing a syntax error on service startup:
Jan/17/2025 20:30:24: cfdebug_print: <3>comment [### Autogenerated by interface.py ###] (37) Jan/17/2025 20:30:24: cfdebug_print: <3>comment [# man https://www.unix.com/man-page/debian/5/dhcp6c.conf/] (57) Jan/17/2025 20:30:24: cfdebug_print: <3>[interface] (9) Jan/17/2025 20:30:24: cfdebug_print: <5>[eth0] (4) Jan/17/2025 20:30:24: cfdebug_print: <3>begin of closure [{] (1) Jan/17/2025 20:30:24: cfdebug_print: <3>[send] (4) Jan/17/2025 20:30:24: cfdebug_print: <3>[client-id] (9) Jan/17/2025 20:30:24: yyerror0: /run/dhcp6c/dhcp6c.eth0.conf 5: syntax error Jan/17/2025 20:30:24: yyerror0: /run/dhcp6c/dhcp6c.eth0.conf 5: fatal parse failure: exiting (1 errors) Jan/17/2025 20:30:24: main: failed to parse configuration file
Applying Workaround:
Delete DUID configuration:
delete interfaces ethernet eth0 dhcpv6-options duid '00:04:ce:af:52:cf:6b:c7:48:e4:9d:ee:3e:77:3d:69:bf:56'
If you service requires a specific DUID this will likely not work, you can attempt to also set the DUID used by dhcp6c by updating /var/lib/dhcpv6/dhcp6c_duid but this will be a binary file and you would need to research the format to do so.
Alternatively, if you require a custom DUID a downgrade to an earlier working release is recommended until this bug is resolved.