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.
This commit is contained in:
Kai Lüke
2026-07-28 15:20:09 +09:00
parent 0d92898e85
commit 9913d9ac97
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -89,7 +89,7 @@
separately.</para>
<para>The <filename>systemd-sysupdate-auto-enable.service</filename> 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 <filename>systemd-sysupdate-update.service</filename>, 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 <command>enable-component</command>/<command>enable-feature</command> invocations.</para>
+1 -1
View File
@@ -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