-------- Ursprungligt meddelande --------
Den 2025-06-26 13:23, Martin Husemann <mar...@duskware.de> skrev:

>  On Thu, Jun 26, 2025 at 11:40:15AM +0000, pin wrote:
>  > Hi,
>  >
>  > 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
>  
>  ntpdate runs too early while your DNS server is not yet reachable or (if
>  you use DHCP) your /etc/resolv.conf has not been filled.
>  
>  A very simple workaround is to set ntpdate=NO and instead add
>  
>  ntpd_flags="-g"
>  
>  which tells ntpd to do basically the same as ntpdate, but a bit slower and
>  with more retries. Downside is that your clock may not be exact right after
>  booting (it will need a minute or so after the NTP servers are reachable).
>  
>  On machines that have a working battery buffered clock this is usually
>  fine and will make no noticable difference.
>  
>  Martin

Thanks!

As things are working fine once the system reaches an X-session, I'll leave it 
for now.

Only brought it up since this only started a month or so ago and I didn't 
change my set-up, other than updating along HEAD.

Reply via email to