ma 7.7.2025 klo 13.47 Thorsten Glaser (t...@mirbsd.de) kirjoitti:
> Package: dhcpcd-base
> Version: 1:10.1.0-11
> Severity: normal
> X-Debbugs-Cc: t...@mirbsd.de
>
> In contrast to earlier Debian releases with ISC dhcp-client, a “sudo ifup 
> wlan0”
> with DHCP enabled runs the post-up command from /etc/network/interfaces and
> returns to the shell (consider “sudo ifup wlan0 && sudo rdate -nv ntpserver”)
> before the network interface is ready: rdate tells me no connection to host,
> and a few seconds later only it works.
>
> Please ensure to only return to ifupdown once the network is *actually* 
> usable.
> Thanks.

Unless I'm mistaken, this is because dhcpcd forks to the background
and dynamically switches between IPv4LL and DHCP/RA addresses as
needed. I'm not sure whether changing this behavior is remotely
desirable.  However, I do agree that if this makes ifupdown presume
that an external IP has succesfully been acquired and the boot process
continue to steps that launch network-dependant services, it is
problematic.

Martin-Éric

Reply via email to