They use something called Fossil SCM. It's supposedly distributed SCM, but
I've never heard of it. This [1] is the only way I can find to look at the
files—I have no idea how to clone/checkout the source. I would need to look
into it more.

Looking through the VyOS source code [2] [3], I've learned something
important. We don't JUST run separate client/server processes (we have to,
because dhclient is a separate binary from the server). We run a separate
dhclient process for every interface that has `address dhcp` and for every
interface that has `address dhcpv6`. So if you have one interface that gets
a DHCP address and a DHCPv6 address, two instances of dhclient are started.
If you have two interfaces, and one gets a DHCP address, and the other gets
a DHCP address and a DHCPv6 address, three instances of dhclient are
started.

So, after looking through that VyOS source code, I'm not sure of the best
way to proceed. Because we have separate scripts for DHCP and DHCPv6, it
seems like it would be easiest to only use dhcpcd for DHCPv6, and leave
dhclient for DHCP untouched. That would also probably be the course of
least risk, since there would be no risk of regular IPv4 DHCP clients
encountering any problems (nothing would change for them). However, it
feels dirty to me to have separate DHCP clients for v4 and v6. :-/

Thoughts?

[1] http://roy.marples.name/projects/dhcpcd/dir?ci=tip
[2]
https://github.com/vyos/vyatta-cfg-system/blob/9530eae60bf66020401e52a5b9cd278f73311128/scripts/vyatta-interfaces.pl
[3]
https://github.com/vyos/vyatta-cfg-system/blob/9530eae60bf66020401e52a5b9cd278f73311128/scripts/vyatta-dhcpv6-client.pl

On Wed, Jan 27, 2016 at 6:15 PM, Daniil Baturin <dan...@baturin.org> wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> If there's a good reason to build it, and they do have source code in a
> convenient form (git would be perfect) we absolutely can build it.
> It would be nice if someone volunteered to maintain it of course. ;)
>
>
_______________________________________________
Vyos-developers mailing list
Vyos-developers@lists.tuxis.nl
https://lists.tuxis.nl/listinfo/vyos-developers

Reply via email to