Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 643376

Summary: sys-apps/busybox waits for ever in boot sequence, if DNS does not resolve
Product: Gentoo Linux Reporter: Stijn Tintel <stijn+gentoo>
Component: Current packagesAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Screenshot of VM with the problem

Description Stijn Tintel 2018-01-04 09:21:50 UTC
Created attachment 513154 [details]
Screenshot of VM with the problem

When for some reason the NTP server configured in busybox-ntpd does not resolve, this blocks the systems from booting properly.
Comment 1 Anthony Basile gentoo-dev 2018-01-27 23:39:16 UTC
(In reply to Stijn Tintel from comment #0)
> Created attachment 513154 [details]
> Screenshot of VM with the problem
> 
> When for some reason the NTP server configured in busybox-ntpd does not
> resolve, this blocks the systems from booting properly.

what versions of busybox did you test?
Comment 2 Stijn Tintel 2018-01-30 21:17:34 UTC
(In reply to Anthony Basile from comment #1)
> 
> what versions of busybox did you test?

1.25.1::musl
Comment 3 Viorel Munteanu gentoo-dev 2022-04-17 10:13:33 UTC
I am testing this with v1.34.1.

What is your NTPD_OPTS?  With the default of "-N -p pool.example.com" I cannot reproduce the issue.  I can reproduce it if I add -n, but adding -q too solves the issue.

NTPD_OPTS="-n -q -p invalid.example.com" quits after a few seconds.