From: Yu Watanabe Date: Tue, 28 Jul 2026 12:24:45 +0000 (+0900) Subject: sysupdate: Change feature/component enablement and disablement (#43191) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f32e0e8530b0ba2afd4cb0c7ad35e9c5dc3d95f;p=thirdparty%2Fsystemd.git sysupdate: Change feature/component enablement and disablement (#43191) - 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. - sysupdate: Change disabling with --component-suggested/--feature-suggested The disabling of features or components with the flag --component-suggested/--feature-suggested didn't disable the suggested ones but instead disabled all other ones. This is rather unintuitive due to how the flags are named and also not really needed because the intended reconciliation outcome can instead be done by first disabling everything and then enabling the suggested ones again which is easier to reason about. For components the tricky part is that they default to enabled and thus it's better to have the disable/enable commands with --component-suggested operate only on suggested ones instead of touching others like "legacy" components that don't explicity say whether they are enabled and suggested or not. Make running disablement of components/features with --component-suggested/--feature-suggested undo a previous enablement with the same flags. Document how one can align the system to only use suggested components/features and not anything else by doing it in two steps, first disabling everything and then enabling suggested ones. This also makes it clearer now that all components that are not explicitly enabled nor suggested will be disabled then. --- 4f32e0e8530b0ba2afd4cb0c7ad35e9c5dc3d95f