tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Making dhcpcd work on diskless clients



On 08/02/2015 13:44, matthew green wrote:
>>> If the diskless client is i386 or amd64, configuration via 'dhcpcd'
>>> during startup works just fine.
>>
>> There are no arch differences in the code, so I find this surprising.
>> dhcpcd has grown a little bigger since the initial import, mainly due to
>> the configurable DHCP option engine to mimic dhclient and growing IPv6
>> functionality.
> 
> since this problem goes away if we make all of dhcpcd in-memory first,
> possibly what happens here is that with i386 or amd64, the layout is
> such that we don't ever try to fault in code during the small period
> of time that the route is missing.
> 
> ie, it's all just random chance and a "properly" laid out x86 binary
> probably can fail just fine for John :-)  (it does for me ...)

I don't fully understand what you are saying. But do you have an idea of
how this can be fixed then without dhcpcd having to learn the routing
table at load time?

Roy



Home | Main Index | Thread Index | Old Index