Hi.

On 20.09.2016 02:29, Erich Titl wrote:
> Hi Jean-Roch
>
> Am 19.09.2016 um 19:42 schrieb Jean-Roch Blais:
>> Hello Erich,
>>
>> thank's for your answer, I commented out background in dhcpcd.conf and voila 
>> ! it works as before, great ! , here is the daemon.log:  (I changed my IP 
>> address .111)
> Very well. We have to think about implications of such aparently
> innocent changes.
>
>> Sep 19 13:16:43 firewall dhcpcd[11715]: version 6.7.1 starting
>> Sep 19 13:16:43 firewall dhcpcd[11715]: eth0: soliciting a DHCP lease
>> Sep 19 13:16:43 firewall dhcpcd[11715]: eth0: offered 96.23.216.111 from 
>> 10.23.113.85
>> Sep 19 13:16:48 firewall dhcpcd[11715]: eth0: leased 96.23.216.111 for 3600 
>> seconds
>> Sep 19 13:16:48 firewall dhcpcd[11715]: eth0: adding route to 96.23.216.0/24
>> Sep 19 13:16:48 firewall dhcpcd[11715]: eth0: adding default route via 
>> 96.23.216.1
>> Sep 19 13:16:48 firewall dhcpcd[11715]: forked to background, child pid 11742
>> Sep 19 13:16:48 firewall dnsmasq[11767]: started, version 2.75 cachesize 150
> You can see here, that dnsmasq is started much later than in your
> previous log files.
>
> I _believe_ the behaviour of dnsmasq is the problem here. The timing of
> dhcp is not deterministic and whoever relies on data from a different
> job needs to check the status of this prerequisite.
And even more, I think that it'll be a trouble here when IP address will 
change (for ex., during some maintenance in ISP)

> Nevertheless, glad it works for you.
>
> Erich


------------------------------------------------------------------------------
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to