Re: IPV6: DUID changing (dhcpcd 7.0.8)
Shahid Mahmood
Fri Oct 12 16:04:45 2018
Thanks,
We will have to keep an eye on it for future releases.
Speaking of future releases, can it possibly be added as a parameter in
config or command line, appended the existing 'duid' or '-D' e.g:
dhcpcd.conf:
duid [system-specific-duid]
dhcpcd:
-D, --duid [system-specific-duid]
Because not all hosts have dmi thing.
Thanks again,
-shahid
On Fri, Oct 12, 2018 at 11:42 AM Roy Marples <roy@xxxxxxxxxxxx> wrote:
> 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
>
Archive administrator: postmaster@marples.name