Current-Users archive

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

Re: ntpdate exited with code 1



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


Home | Main Index | Thread Index | Old Index