Comment 8 for bug 2004525

Revision history for this message
Manuel Fombuena (mandolin1) wrote :

I've had a similar error but please disregard if it's not related.

The error was 'Could not open /var/lib/chrony/chrony.drift.tmp : Permission denied'

It turned out that the ownership of /var/lib/chrony was systemd-network:_chrony

Changing it to _chrony:_chrony solved the problem for me.

About the environment. It's a fresh install of Ubuntu 22.04. However it's built using Fenix, a script to build images for Khadas single computer boards (https://github.com/khadas/fenix).

apparmor is not present.

It uses NetworkManager by default and I installed netplan.io. I wonder if that had anything to do with it given the owner became systemd-network.

If there is anything I can provide to help you troubleshoot the issue let me know but since the error isn't exactly the same, it might well be that it's unrelated or particular to my environment.