On 28 Jun 2016 at 20:19, KP.Kirchdoerfer wrote: From: "KP.Kirchdoerfer" <[email protected]> To: "[email protected]" <[email protected]> Subject: busybox 1.25 ntpd retry initial DNS resolution (forever, no timeout for now). Date sent: Tue, 28 Jun 2016 20:19:29 +0200 Organization: none Send reply to: [email protected]
> Hi; > > I'm testing busybox 1.25 and wonder how to deal with the commit > > https://git.busybox.net/busybox/commit/networking?id=e4caf1dd9ce8569371a0eeb77ccf02a572dc0f11 > > At the first look it seems to be an obvious improvement, but then I'm afraid > it > may generate a hard to resolve problem. > > I start ntpd by default from /etc/init.d > > There might be no working network connection (not configured properly for > whatever reason, hardware problems, whatelse). > > With busybox 1.24 ntpd fails to start and the boot process continues up to a > shell login - allowing me to configure, start diagnostics and resolve errors. > > With busybox 1.25 ntpd seems to loop forever if now NTP servers are found, > blocking the boot process and I never get a login to solve a possible pb or > to do a first time configuration. > > Any hints how this can be solved? It might be this ntpd: retry initial DNS resolution (forever, no timeout for now) In the ntpd.c at line 778 it has some code that is commented out to exit the function, so that might be where it get in the infinite loop since the code to exit is commented. I was looking to see if it might be the same issue I've seen with the change of bb_info_msg to bb_error_msg, which sends output to stderr instead of stdout which effects script piping. In comparing the ntpd.c there where none of this in the 1.24.2 or 1.25.0, all bb_error_msg, but did notice this code and the comment about the infinite loop. > > kp > _______________________________________________ > busybox mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/busybox +----------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor Guam Community College Computer Center mailto:[email protected] mailto:[email protected] Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +----------------------------------------------------------+ http://setiathome.berkeley.edu (Original) Number of Seti Units Returned: 19,471 Processing time: 32 years, 290 days, 12 hours, 58 minutes (Total Hours: 287,489) BOINC@HOME CREDITS ABC 16613838.513356 | EINSTEIN 102980429.95569545496184.211160 ROSETTA 45496184.211160 | SETI 85585906.891814 _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
