From 0fb17141fb2c8a9d64ada11b7e3082b2b8041d7a Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 19 Aug 2019 17:50:29 +0200 Subject: [PATCH] nixos/systemd: enable cgroup accounting by default If this is the default for OpenShift already, we probably can enable it as well. see https://github.com/openshift/machine-config-operator/pull/581 --- nixos/doc/manual/release-notes/rl-1909.xml | 20 ++++++++++++++------ nixos/modules/system/boot/systemd.nix | 2 +- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-1909.xml b/nixos/doc/manual/release-notes/rl-1909.xml index b02d99438de..85ad34f6a66 100644 --- a/nixos/doc/manual/release-notes/rl-1909.xml +++ b/nixos/doc/manual/release-notes/rl-1909.xml @@ -506,12 +506,20 @@ been removed. - - - The rmilter package was removed with associated module and options due deprecation by upstream developer. - Use rspamd in proxy mode instead. - - + + + The rmilter package was removed with associated module and options due deprecation by upstream developer. + Use rspamd in proxy mode instead. + + + + + systemd cgroup accounting via the + systemd.enableCgroupAccounting + option is now enabled by default. It now also enables the more recent Block IO and IP accounting + features. + + diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 5d0783b663d..2a0360b12cb 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -537,7 +537,7 @@ in }; systemd.enableCgroupAccounting = mkOption { - default = false; + default = true; type = types.bool; description = '' Whether to enable cgroup accounting.