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



The following reply was made to PR bin/55973; it has been noted by GNATS.

From: Roy Marples <roy%marples.name@localhost>
To: Frank Kardel <kardel%kardel.name@localhost>, gnats-bugs%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, roy%NetBSD.org@localhost
Cc: 
Subject: Re: bin/55973: ntpd(8) does not notice all interface changes any more
Date: Thu, 4 Feb 2021 16:54:21 +0000

 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