-
Notifications
You must be signed in to change notification settings - Fork 32
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
Automatic rpm-ostree update service fails to run #90
Comments
I don't have time to dig into this today but we set the value to stage in this service and make no other changes, so not sure what is going on here. This service has been reliable for me for years so maybe there was a new version or something changed? |
The change was in https://github.com/ublue-os/config/pull/84/files#diff-f1bc9c48a9bad1cf5a8198ee3434651663e8c497ffd9afdfcc915b0b2df382b7 The new timer works fine for anyone who leaves the computer on all night, or maybe after a resume from sleep, but sometimes, on a boot/resume from a machine which was off when the timer should have run, DNS resolution is not available. I think we may just need to add the following to the service.
At least, that's a good first step. |
For fixing this issue: #90 "Temporary failure in name resolution" Override the service instead of making the changes directly.
With the PR merged for this we can probably close this issue, but it's OK to wait a few for any feedback that it is/isn't working. |
Still doesn't work for me. Manual updates work OK, automatic update 1h after fresh boot works ok. If I sleep through the timer, the service fails with this error. |
Can you provide the output of the following commands after the system wakes from an overnight sleep, etc?
Thank you. |
Sure. systemctl status rpm-ostreed-automatic.timer
systemctl status rpm-ostreed-automatic.service
rpm-ostree status
|
Does this issue still happen to you? |
I've started using ublue-update on my machine a long time ago, but testing it now on my other machine, it seems to be working. After fresh boot, I let it sleep through the timer, no error and after another hour the service started and exited successfully. |
That's good to hear. Anyone who still has the same issue, feel free to ping me for reopening. |
I always consistently got this error, no matter if it's 04:00AM or other time since around 10 days ago:
error: Creating importer: Failed to invoke skopeo proxy method OpenImage: remote error: pinging container registry ghcr.io: Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io: Temporary failure in name resolution
All people which tried to help me told me to check if DNS functions properly on my router.
I checked it & here are the results: router + Cloudflare DNS work properly, everything, including ghcr.io pings positively.
So, that is not the issue.
I & some other user were the only ones with the issue, while other user (Bigpod) verified to me that rpm automatic updates works in his case. Which assumes that most users did not have this issue unlike me & silverblueperson (Discord username). Than, after around 5-6 days, other user complained with the same issue as me.
I am not sure how to log this, as this is the only error I get from the systemd service.
I tried to troubleshoot it by manually running the rpm-ostree upgrade command & by manually running the systemd automatic rpm-ostree upgrade service. Both results went positive...
It is very weird.
The text was updated successfully, but these errors were encountered: