From af8916b10537035cfaf0997da268ded50ca026a1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 12 Oct 2026 19:11:03 +0200 Subject: [PATCH] units: run systemd-sysupdate-update.service with --loop=16 Let's make sure that updates that make further updates available are fully applied in a single run of the automatic update service. --- NEWS | 2 +- man/systemd-sysupdate.xml | 2 ++ units/systemd-sysupdate-update.service.in | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index bf869cdb920..08fd119dc90 100644 --- a/NEWS +++ b/NEWS @@ -56,7 +56,7 @@ CHANGES WITH 263 in spe: updates are installed, or the specified number of iterations is reached. This is useful for updates that make further updates available, for example because they ship new or changed transfer - files. + files. systemd-sysupdate-update.service now uses --loop=16. CHANGES WITH 262: diff --git a/man/systemd-sysupdate.xml b/man/systemd-sysupdate.xml index e74555aa9a3..14f881616b5 100644 --- a/man/systemd-sysupdate.xml +++ b/man/systemd-sysupdate.xml @@ -483,6 +483,8 @@ , the reboot is requested only once, after the last iteration. May not be used with acquire. + systemd-sysupdate-update.service runs with . + diff --git a/units/systemd-sysupdate-update.service.in b/units/systemd-sysupdate-update.service.in index 74adb61fdad..c14d38b8ab8 100644 --- a/units/systemd-sysupdate-update.service.in +++ b/units/systemd-sysupdate-update.service.in @@ -17,7 +17,7 @@ ConditionVirtualization=!container [Service] Type=simple NotifyAccess=main -ExecStart={{LIBEXECDIR}}/systemd-sysupdate update --component-all --cleanup=yes +ExecStart={{LIBEXECDIR}}/systemd-sysupdate update --component-all --cleanup=yes --loop=16 # Keep this sandboxing synchronised with systemd-sysupdate@.service CapabilityBoundingSet=CAP_CHOWN CAP_FOWNER CAP_FSETID CAP_MKNOD CAP_SETFCAP CAP_SYS_ADMIN CAP_SETPCAP CAP_DAC_OVERRIDE CAP_LINUX_IMMUTABLE