[OpenWrt-Devel] [PATCH] odhcpd: add network dependent start trigger

Eric Luehrsen ericluehrsen at gmail.com
Thu Feb 28 21:27:15 EST 2019

On 2/27/19 7:38 AM, Hans Dedecker wrote:
> Hi,
> On Mon, Feb 25, 2019 at 8:46 AM Hans Dedecker <dedeckeh at gmail.com> wrote:
>> Hi,
>> On Sun, Feb 24, 2019 at 7:06 AM Eric Luehrsen <ericluehrsen at gmail.com> wrote:
>>> Recent (20190207) changes to odhcpd makee it dependent on OpenWrt
>>> logical interfaces. Boot time race conditions may make odhcpd binding
>> Even before the most recent changes odhcpd was dependent on OpenWRT logical
>> interfaces nothing has changed in that sense
>>> a challenge. Intermittent or inconsistent problems can occur with DHCP
>>> requests until odhcpd is restarted. Change start up scripts to use
>> Can you elaborate a bit more on what issues you're observing and provide odhcpd
>> tracing  (loglevel 7) when you observe issues ?
> The issue you probably have observed is fixed in
> https://git.openwrt.org/?p=project/odhcpd.git;a=commit;h=16c5b6c9bcb71bb67a6ab15bb458bf9ab5a8fe7e
> Hans
>>> procd interface triggers such as dnsmasq and others have already.
>> This does not really make sense to me as odhcpd is subscribed to ubus
>> network event
>> messages triggering config reload logic in case the network state of
>> an interface changes
>> Hans

Sorry I haven't much time this week to look at it more, but yes, that 
looks to be directly related with the symptoms.


openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list