From 9913d9ac9741bf0ea450f6977aacbc18b8aabd02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20L=C3=BCke?= Date: Tue, 28 Jul 2026 14:32:01 +0900 Subject: [PATCH] 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. --- man/systemd-sysupdate.xml | 2 +- units/systemd-sysupdate-auto-enable.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/systemd-sysupdate.xml b/man/systemd-sysupdate.xml index 7386a399e7..dcfcf94559 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 d2f4a22e1f..2fee785f87 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