Current-Users archive

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

Re: ntpdate exited with code 1



-------- Ursprungligt meddelande --------
Den 2025-06-27 23:59, RVP <rvp%SDF.ORG@localhost> skrev:

>  On Thu, 26 Jun 2025, pin wrote:
>  
>  > NetBSD 10.98.14 amd64 since a month or so ago, I'm getting the following on every boot:
>  >
>  > [...]
>  > Setting date via ntp.
>  > Exiting, name server cannot be used: Temporary failure in name resolution (2)16 Jun 21:23:49 ntpdate[1082]: name server cannot be used: Temporary failure in name resolution (2)
>  > /etc/rc.d/ntpdate exited with code 1
>  > [...]
>  >
>  > ntp is running by the time I get to X
>  >
>  > Any clues?
>  >
>  
>  Desktop users should just add `-w' to make dhcpcd(8) wait for an IP address
>  to be assigned. That usually fixes this:
>  
>  ```
>  $ fgrep dhcpcd /etc/rc.conf
>  dhcpcd=YES
>  dhcpcd_flags="-4Mqw ure0 vioif0"
>  $
>  ```
>  
>  -RVP

Hi RVP,

Yes, I already have that, https://codeberg.org/pin/netbsd/src/commit/83b20c65d1b426206d46e3f45c68d8cc345d5d35/etc/rc.conf#L16


Home | Main Index | Thread Index | Old Index