From 7a9e0bd031d9cda757e0569d4ff6b5ae1a59d40c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 23 Aug 2022 09:11:23 +0200 Subject: [PATCH] man: add "History" sections for removed settings The general idea is that users should be able to figure out if some option that they see in a config file or on some internet page is something that systemd knows about. Once users know that, yes, this was an option but has been deprecated and removed from the documentation, it's much easier for them to find any docs in old versions if they want to. Or to switch to something different. --- man/kernel-command-line.xml | 12 ++++++++++++ man/systemd-system.conf.xml | 12 ++++++++++++ man/systemd.resource-control.xml | 25 +++++++++++++++++++++++++ man/systemd.xml | 13 +++++++++++++ 4 files changed, 62 insertions(+) diff --git a/man/kernel-command-line.xml b/man/kernel-command-line.xml index 3f5eaf3ef9..c648f7779e 100644 --- a/man/kernel-command-line.xml +++ b/man/kernel-command-line.xml @@ -557,7 +557,19 @@ the hostname, it simply controls the initial hostname set during early boot. + + + History + + + + systemd 252 + Kernel command-line arguments systemd.unified_cgroup_hierarchy + and systemd.legacy_systemd_cgroup_controller were deprecated. Please switch to + the unified cgroup hierarchy. + + diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml index 36f25f94e4..ac21c31d9a 100644 --- a/man/systemd-system.conf.xml +++ b/man/systemd-system.conf.xml @@ -592,6 +592,18 @@ + + History + + + + systemd 252 + Option DefaultBlockIOAccounting= was deprecated. Please switch + to the unified cgroup hierarchy. + + + + See Also diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index ba4a14440a..940395a442 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -1103,6 +1103,31 @@ DeviceAllow=/dev/loop-control + + History + + + + systemd 252 + Options for controlling the Legacy Control Group Hierarchy (Control Groups version 1 are + now fully deprecated: CPUShares=weight, + StartupCPUShares=weight, + MemoryLimit=bytes, + BlockIOAccounting=, + BlockIOWeight=weight, + StartupBlockIOWeight=weight, + BlockIODeviceWeight=device + weight, + BlockIOReadBandwidth=device + bytes, + BlockIOWriteBandwidth=device + bytes. + Please switch to the unified cgroup hierarchy. + + + + See Also diff --git a/man/systemd.xml b/man/systemd.xml index d19318929a..99b6f11b90 100644 --- a/man/systemd.xml +++ b/man/systemd.xml @@ -1251,6 +1251,19 @@ + + History + + + + systemd 252 + Kernel command-line arguments systemd.unified_cgroup_hierarchy + and systemd.legacy_systemd_cgroup_controller were deprecated. Please switch to + the unified cgroup hierarchy. + + + + See Also