dhcpcd-discuss

Re: IPV6: DUID changing (dhcpcd 7.0.8)

Roy Marples

Fri Oct 12 15:42:16 2018

Hi

On 12/10/2018 16:19, Shahid Mahmood wrote:
Hi again,
Unfortunately the /sys/class/dmi .. solution cannot be implemented on our platform.

That's a shame, it's the way the industry is headed.

Also choosing to keep the DBDIR in ram to reduce flash wear because it contains transient data.

The solution we opted for is to generating our own DUID in permanent storage (one time) and creating a symlink from it to DBDIR/duid (eg /var/run/duid).

Question: Can we trust dhcpcd to continue reading duid from the location as is currently does or can it change in a future release? If later, then is there a better alternative?

Anything can change, but I rarely change file locations without any good reason. In this case, no daemon should really write to the system config folder where is was previously.

If it does ever change, it will only be for a major release (ie dhcpcd-8 ... probably not minors like dhcpcd-8.1) and it will be in the change entry I post to the list here.

Roy

Follow-Ups:
Re: IPV6: DUID changing (dhcpcd 7.0.8)Shahid Mahmood
References:
IPV6: DUID changing (dhcpcd 7.0.8)Shahid Mahmood
Re: IPV6: DUID changing (dhcpcd 7.0.8)Roy Marples
Re: IPV6: DUID changing (dhcpcd 7.0.8)Shahid Mahmood
Re: IPV6: DUID changing (dhcpcd 7.0.8)Shahid Mahmood
Archive administrator: postmaster@marples.name