-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
After waking up the computer from a suspend, the update service always fails.
Output from systemctl status rpm-ostreed-automatic.service:
rpm-ostreed-automatic.service - rpm-ostree Automatic Update
Loaded: loaded (/usr/lib/systemd/system/rpm-ostreed-automatic.service; static)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
/usr/lib/systemd/system/rpm-ostreed-automatic.service.d
└─override.conf
Active: failed (Result: exit-code) since Sat 2025-05-31 11:57:32 CEST; 33s ago
Duration: 655ms
Invocation: a3832540cd6244e4bb04c540687820f2
TriggeredBy: ● rpm-ostreed-automatic.timer
Docs: man:rpm-ostree(1)
man:rpm-ostreed.conf(5)
Process: 101305 ExecCondition=/bin/bash -c [[ "$(busctl get-property org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager Metered | cut -c 3-)" == @(2|4) ]] (code=exited, status=0/SUCCESS)
Process: 101331 ExecStart=rpm-ostree upgrade --quiet --trigger-automatic-update-policy (code=exited, status=1/FAILURE)
Main PID: 101331 (code=exited, status=1/FAILURE)
Mem peak: 9.4M
CPU: 58ms
May 31 11:57:31 aurora systemd[1]: Starting rpm-ostreed-automatic.service - rpm-ostree Automatic Update...
May 31 11:57:31 aurora systemd[1]: Started rpm-ostreed-automatic.service - rpm-ostree Automatic Update.
May 31 11:57:32 aurora rpm-ostree[101331]: error: Creating importer: failed to invoke method OpenImage: failed to invoke method OpenImage: pinging container registry ghcr.io: Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io: Temporary failure in name resolution
May 31 11:57:32 aurora systemd[1]: rpm-ostreed-automatic.service: Main process exited, code=exited, status=1/FAILURE
May 31 11:57:32 aurora systemd[1]: rpm-ostreed-automatic.service: Failed with result 'exit-code'.
The above output is just a few seconds after waking up my PC, as shown in the 'Active' field.
Uupd tries to make a network request before an internet connection has been established.
Note that I'm on a wired connection, not Wifi.
This means that the auto update service never runs successfully for me as it always scheduled for 4am, while my PC is asleep.
gnouts
Metadata
Metadata
Assignees
Labels
No labels