From: Kai Lüke Date: Tue, 28 Jul 2026 05:32:01 +0000 (+0900) Subject: sysupdate: In the auto-enable service, don't enable all features X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=9913d9ac9741bf0ea450f6977aacbc18b8aabd02;p=thirdparty%2Fsystemd.git sysupdate: In the auto-enable service, don't enable all features The auto-enable service should activate suggested components and features but enabled all features which includes the default components unsuggested features and any unsuggested features of the suggested components. This is unexpected behavior and we rather want this service to be limited to suggested features. Switch the service flag to suggested and make the wording more explicit in the man page. Also fix the wrong statement that it operates on enabled components, it operates on all components, also explicitly disabled ones. --- diff --git a/man/systemd-sysupdate.xml b/man/systemd-sysupdate.xml index 7386a399e7c..dcfcf945596 100644 --- a/man/systemd-sysupdate.xml +++ b/man/systemd-sysupdate.xml @@ -89,7 +89,7 @@ separately. The systemd-sysupdate-auto-enable.service system service automatically enables all - suggested components and all features of the enabled components before each update. It is ordered before and + suggested components and all suggested features of all components before each update. It is ordered before and pulled in by systemd-sysupdate-update.service, and is not enabled by default. Enable it if newly suggested components and features shall be picked up automatically as they become available, rather than requiring manual enable-component/enable-feature invocations. diff --git a/units/systemd-sysupdate-auto-enable.service b/units/systemd-sysupdate-auto-enable.service index d2f4a22e1f0..2fee785f872 100644 --- a/units/systemd-sysupdate-auto-enable.service +++ b/units/systemd-sysupdate-auto-enable.service @@ -15,7 +15,7 @@ Before=systemd-sysupdate-update.service [Service] Type=oneshot ExecStart=systemd-sysupdate enable-component --component-suggested -ExecStart=systemd-sysupdate enable-feature --component-all --feature-all +ExecStart=systemd-sysupdate enable-feature --component-all --feature-suggested [Install] WantedBy=systemd-sysupdate-update.service