CRUX

Welcome to CRUX bug tracking.
Tasklist

FS#1550 - dhcpcd: duid and secret files have moved

Attached to Project: CRUX
Opened by David Brooke (dbrooke) - Thursday, 04 January 2018, 21:02 GMT
Last edited by Juergen Daubert (jue) - Friday, 16 October 2020, 10:55 GMT
Task Type Bug Report
Category ports → core/opt
Status Closed
Assigned To CRUX Developers (crux)
Operating System CRUX
Severity Low
Priority Normal
Reported Version 3.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

In version 7 the duid and secret files location (and names) has changed from /etc/dhcpcd to (in CRUX) /var/lib/dhcpcd

I use the option "slaac private" to have a stable private IPv6 address but this is derived from (among other things) these 2 files and following the upgrade to version 7 these files were recreated in /var/lib/dhcpcd with different content to the existing files in /etc/dhcpcd and thus my IPv6 address changed.

Copying the existing files and restarting networking restored my expected address.

It would be nice if the CRUX package could handle this in some way to avoid surprises. It also affects IPv4 if the DHCP server has a fixed allocation referenced by ID instead of (or in addition to) MAC address.

According to https://github.com/rsmarples/dhcpcd#upgrading there is a Makefile target which may help.
This task depends upon

Closed by  Juergen Daubert (jue)
Friday, 16 October 2020, 10:55 GMT
Reason for closing:  Won't fix

Loading...