Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: dhcp6leased(8): document /var/db/dhcp6leased/uuid
To:
Klemens Nanni <kn@openbsd.org>
Cc:
tech <tech@openbsd.org>
Date:
Tue, 29 Oct 2024 22:32:07 +0000

Download raw body.

Thread
On 2024/10/29 20:14, Klemens Nanni wrote:
> 29.10.2024 23:06, Florian Obser пишет:
> > OK?
> 
> OK kn with the first comment fixed;  on the second I'd defer to jmc.
> 
> > 
> > diff --git dhcp6leased.8 dhcp6leased.8
> > index 762fa4344db..c26e3e040e5 100644
> > --- dhcp6leased.8
> > +++ dhcp6leased.8
> > @@ -31,6 +31,15 @@ is an IPv6 dynamic host configuration protocol (DHCPv6) daemon for clients.
> >  It requests IPv6 prefix delegations from DHCPv6 servers for assignment
> >  to downstream interfaces.
> >  .Pp
> > +DHCPv6 clients are identified by DHCPv6 Unique Identifiers (DUID).
> > +.Nm
> > +uses a DUID based on a random Universally Unique Identifier
> > +(UUID).
> > +The DUID is stored in
> > +.Pa /var/db/dhcp6leased/uuid
> 
> Needs a trailing dot (and space between path and dot).
> 
> > +If the file does not exist or the UUID is not readable a new, random
> > +UUID is generated.
> That comma threw me off, "... readable, a new random ..." would be clearer, imho.

+1

> > +.Pp
> >  A running
> >  .Nm
> >  can be controlled with the
> > @@ -70,6 +79,8 @@ Default
> >  configuration file.
> >  .It Pa /var/db/dhcp6leased/ Ns Aq Ar if
> >  Interface specific lease files.
> > +.It Pa /var/db/dhcp6leased/uuid
> > +DUID to identify this client.
> >  .El
> >  .Sh SEE ALSO
> >  .Xr dhcp6leased.conf 5 ,
> > 
>