Re: Late start for IPv6
Jouke Witteveen
Tue May 27 09:56:03 2014
>> Would netctl be happy with this?
>>
>> dhcpcd --per-protocol -4 eth0
>> dhcpcd --per-protocol -6 eth0
>>
>> dhcpcd --per-protocol -4 -x eth0
>> dhcpcd --per-protocol -6 -x eth0
>>
>> Would create the pidfiles:
>> /var/run/dhcpcd-eth0.pid
>> /var/run/dhcpcd-eth0.6.pid
>>
>> That would be fairly trivial to implement.
>> Let me know
>
> That would be very nice!
>
> What would happen in this case?
>
> dhcpcd --per-protocol -4 eth0
> dhcpcd --per-protocol -6 eth0
> dhcpcd -x eth0
>
> I'd say it would be best to either kill both or kill none and error.
> This is not relevant for netctl, but could be relevant for someone
> else out there.
I still like the idea of having --per-protocol. Here's some more thoughts.
`dhcpcd --per-protocol eth0` should probably be equivalent to `dhcpcd
--per-protocol -4 eth0; dhcpcd --per-protocol -6 eth0`, which suggests
we could have `dhcpcd --per-protocol -x eth0`, killing both instances.
In that case `dhcpcd -x eth0` should probably do nothing and error.
Equivalently, this means when we started dhcpcd using simply `dhcpcd
eth0`, that attempting `dhcpcd --per-protocol -x eth0` should do
nothing and error.
Regards,
- Jouke
Archive administrator: postmaster@marples.name