-
-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
General | Keep /media dir to fulfil FHS and fix htpdate service startup #3558
Comments
htpdate.service - HTTP based time synchronization tool May 22 22:36:46 rv systemd[1]: Starting HTTP based time synchronization tool... |
@jokoren
Hmm, does this file exist?
And is there a special reason you use this HTTP-based time sync daemon? Usually If you want or need htpdate, try to reinstall it to recover the file that seems to be missing:
Else, I suggest to purge it and fallback to systemd-timesyncd:
|
Fixed it by
dietpi-config
advanced options
Time sync mode
[custom]
Fresh install on 3 pi's was set for boot+daily
Jim O'Koren
Retired software engineer
|
@jokoren |
Hmm actually strange that the DietPi time sync setting breaks htpdate. "Boot + daily" means that there is not even a daemon running that could block anything, and furthermore in case of time sync/NTP nothing is bound to any port + htpdate does not even use the NTP protocol. It is actually the other way round: If Error verified:
Changing DietPi time sync mode to 0/custom does not help, as expected. Might be related: systemd/systemd#10032
Testing with Buster backportsBetter, but could be again more clear:
Testing on BullseyeThe same... WorkaroundEither:
|
Just found that Done: 16d105e |
+ DietPi-PREP | Do not remove /home (recreated anyway) and /media but their content only, since their existence is required to fulfil FHS and their absence can hence lead to issues: #3558, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956495#15
broke everything
will try install of official images
Jim O'Koren
Computer scientist, retired
|
`Be careful my friend"
Jim, former TS/SCI NSA Consultant US NAVY
Be SAFE
Jim O'K
|
Creating a bug report/issue
Required Information
cat /boot/dietpi/.version
echo $G_DISTRO_NAME
orcat /etc/debian_version
uname -a
echo $G_HW_MODEL_NAME
or (EG: RPi3)Additional Information (if applicable)
echo $G_HW_UUID
Steps to reproduce
Expected behaviour
Actual behaviour
Extra details
Details:
Steps to reproduce:
Expected behaviour:
Actual behaviour:
Extra details:
Additional logs:
The text was updated successfully, but these errors were encountered: