NTP on headless does not work because no access to resolv.conf

Bug #1920806 reported by JPT
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raspbian
New
Undecided
Unassigned

Bug Description

I spent several hours making NTP client work on Raspi Zero W.

I tried systemd-timesync, which did not give any error message.
after that I tried NTP. This set me on the right path: It wasn't able to solve DNS.

The solution was to set
PrivateTmp=false
in /lib/systemd/system/ntp.service
see https://github.com/adafruit/Raspberry-Pi-Installer-Scripts/issues/92

Maybe there is a similar problem with systemd-timesync
I let the experts fiddle that out!

kernel 5.10.17+ #1403 Mon Feb 22 11:26:13 GMT 2021 armv6l GNU/Linux
Raspbian Buster

thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.