NetBSD-Bugs archive

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

Re: bin/55973: ntpd(8) does not notice all interface changes any more



Hi Frank

On 04/02/2021 10:59, Frank Kardel wrote:
seems like one of the last routing socket optimizations have gone

unintendedly too far. Roy, could you please check?

So on my pinebook with ntpd dated Jan 1 this year (ie before my latest changes)
I see the same / similar behaviour as on my dev machine with the latest code.

I start ntpd without any interface other than lo0 on my pinebook and have netbsd pool ntp servers setup.

I hotplug urtwn0 and after the address as left the tentative state, ntpq -pn shows remote's appear but in the .INIT. state. After 5 minutes waiting only one of these has left the .INIT. state and now has a refid.

I can restart ntpd a few times and eventually some or all leave the .INIT. state.

I unplug urtwn0, ntpq reports no ids and plug it back in.
ntpd sees the address leave tentative and voila ids come back.
two have refids, one is in .INIT. and one is in .XFAC.

I have no idea what this means, but I suggest things are working?

Roy


Home | Main Index | Thread Index | Old Index