diff options
author | Florian Klink <flokli@flokli.de> | 2019-08-19 17:50:29 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2019-08-25 22:26:12 +0200 |
commit | 0fb17141fb2c8a9d64ada11b7e3082b2b8041d7a (patch) | |
tree | c75fbf89bdddcb8f8c87420ba0dd0072aa7de0d5 /nixos | |
parent | f3a18d4562f30737235997e666ed41d6c2e6235a (diff) | |
download | nixlib-0fb17141fb2c8a9d64ada11b7e3082b2b8041d7a.tar nixlib-0fb17141fb2c8a9d64ada11b7e3082b2b8041d7a.tar.gz nixlib-0fb17141fb2c8a9d64ada11b7e3082b2b8041d7a.tar.bz2 nixlib-0fb17141fb2c8a9d64ada11b7e3082b2b8041d7a.tar.lz nixlib-0fb17141fb2c8a9d64ada11b7e3082b2b8041d7a.tar.xz nixlib-0fb17141fb2c8a9d64ada11b7e3082b2b8041d7a.tar.zst nixlib-0fb17141fb2c8a9d64ada11b7e3082b2b8041d7a.zip |
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
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/doc/manual/release-notes/rl-1909.xml | 20 | ||||
-rw-r--r-- | 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 b02d99438de0..85ad34f6a66e 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. </para> </listitem> - <listitem> - <para> - The <literal>rmilter</literal> package was removed with associated module and options due deprecation by upstream developer. - Use <literal>rspamd</literal> in proxy mode instead. - </para> - </listitem> + <listitem> + <para> + The <literal>rmilter</literal> package was removed with associated module and options due deprecation by upstream developer. + Use <literal>rspamd</literal> in proxy mode instead. + </para> + </listitem> + <listitem> + <para> + systemd cgroup accounting via the + <link linkend="opt-systemd.enableCgroupAccounting">systemd.enableCgroupAccounting</link> + option is now enabled by default. It now also enables the more recent Block IO and IP accounting + features. + </para> + </listitem> </itemizedlist> </section> </section> diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 5d0783b663d9..2a0360b12cbc 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. |