]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sysupdate: In the auto-enable service, don't enable all features
authorKai Lüke <kai@amutable.com>
Tue, 28 Jul 2026 05:32:01 +0000 (14:32 +0900)
committerKai Lüke <kai@amutable.com>
Tue, 28 Jul 2026 06:20:09 +0000 (15:20 +0900)
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
units/systemd-sysupdate-auto-enable.service

index 7386a399e7c952c77a1a6fe61b19bb21ce5ecc06..dcfcf9455962344b7accbfd3e88db0e05b09b221 100644 (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>
index d2f4a22e1f00c0d0cdb388011c78b9fd6f079057..2fee785f8721a092ccc9244a2cc820ee432b84e3 100644 (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