I followed Updates and Rollbacks :: Fedora Docs to enable automatic updates for Fedora 39 IoT Edition (aarch64). Unfortunately, after systemctl reboot the rpm-ostreed-automatic.timer is disabled again.
Enabling the timer works as expected:
# systemctl enable rpm-ostreed-automatic.timer --now
Created symlink /etc/systemd/system/timers.target.wants/rpm-ostreed-automatic.timer → /usr/lib/systemd/system/rpm-ostreed-automatic.timer.
# systemctl status rpm-ostreed-automatic.timer
● rpm-ostreed-automatic.timer - rpm-ostree Automatic Update Trigger
Loaded: loaded (/usr/lib/systemd/system/rpm-ostreed-automatic.timer; enabled; preset: disabled)
Active: active (waiting) since Mon 2024-01-08 12:56:21 UTC; 1h 59min ago
Trigger: Tue 2024-01-09 12:56:49 UTC; 22h left
Triggers: ● rpm-ostreed-automatic.service
Docs: man:rpm-ostree(1)
man:rpm-ostreed.conf(5)
Unfortunately, after issuing shutdown -r now or systemctl shutdown the status of this timer is again disabled:
The symlink /etc/systemd/system/timers.target.wants/rpm-ostreed-automatic.timer is gone after reboot.
Any help is highly appreciated to understand what is necessary to make systemctl enable persistent, i.e., to keep the timer enabled after reboot.
Thanks and kind regards,
wurstsemmel
P.S.: On a side note, I tried to disable zezere_ignition.timer, which is enabled by default, but after reboot this timer is enabled again. In this case the timer is not persistently disabled.
# cat /etc/rpm-ostreed.conf
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# For option meanings, see rpm-ostreed.conf(5).
[Daemon]
AutomaticUpdatePolicy=stage
#IdleExitTimeout=60
#LockLayering=false
# systemctl reload rpm-ostreed
rpm-ostreed.service is not active, cannot reload.
# rpm-ostree reload
# systemctl reload rpm-ostreed
Job for rpm-ostreed.service failed.
See "systemctl status rpm-ostreed.service" and "journalctl -xeu rpm-ostreed.service" for details.
systemctl enable rpm-ostreed-automatic.timer enables the timer persistently on Fedora 39 Workstation (x86_64, bare metal), Fedora 39 IoT Edition (x86_64, VM) and Fedora 39 Silverblue (x86_64, VM).
This isn’t limited to just the rpm-ostreed automatic timer, but for any systemd service that I enable. I setup a custom systemd service for a HA podman container and enabled that, and similarly it’s disabled on reboot.
I haven’t test the x86 versions of fedora IoT 39, so I don’t have the data to compare.
Happy to share any more info that could be helpful or help debug this.