dhcpd and systemd

Ian Chapman packages at amiga-hardware.com
Thu Jul 17 11:23:24 UTC 2014


On 17/07/14 18:45, Corinna Vinschen wrote:
> On Jul 17 18:32, Ian Chapman wrote:
>> Hi,
>>
>> Dhcpd on my server has suddenly started taking to start before the IP
>> address (statically assigned) has been configured on the network interface
>> and consequently bombs out. The systemd service for dhcpd has
>>
>> After=network.target
>>
>>
>> should this be network-online.target?
>
> Probably, or dhcpd needs to set the IP_FREEBIND socket option.
>  The important
> thing here is that you fill in the "Blocks" field with the number of the
> tracker bug 1119787, so this can be followed through.

Changing from After=network.target to After=network-online.target seems 
to work around the problem. I've filed a bug against dhcpd as you 
suggested. Unfortunately it looks like Bind might be affected too, 
whilst it starts on boot, it doesn't respond to clients resolution 
requests until I manually restart the service after boot. I'll look a 
bit deeper into that one too and consider a bug report.


-- 
Ian Chapman.


More information about the users mailing list