]> git.ipfire.org Git - thirdparty/systemd.git/commit
nspawn: rename UNIFIED_CGROUP_HIERARCHY to SYSTEMD_NSPAWN_UNIFIED_HIERARCHY
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 27 Sep 2019 12:17:41 +0000 (14:17 +0200)
committerFilipe Brandenburger <filbranden@gmail.com>
Tue, 1 Oct 2019 17:21:13 +0000 (10:21 -0700)
commitc78c095b1e6c87f309bbae5166f94d1bedc4ce81
tree3caa89ace60b585d4730748e2ba74d58d6333237
parent490486842b6521104b594c511ca912504f61a8f3
nspawn: rename UNIFIED_CGROUP_HIERARCHY to SYSTEMD_NSPAWN_UNIFIED_HIERARCHY

We should never have used an unprefixed environment variable name.
All other systemd-nspawn variables have the "SYSTEMD_NSPAWN_" prefix,
and all other systemd variables have the "SYSTEMD_" prefix.

The new variable name takes precedence, but we fall back to checking the
old one. If only the old one is found, a warning is emitted.

In addition, SYSTEMD_NSPAWN_UNIFIED_HIERARCHY="" is accepted as an override
to avoid looking for the old variable name.

We have a variable with the same name ($UNIFIED_CGROUP_HIERARCHY) in tests,
which governs both systemd-nspawn and qemu behaviour. It is not renamed.
docs/ENVIRONMENT.md
src/nspawn/nspawn.c
test/TEST-13-NSPAWN-SMOKE/test.sh
test/test-functions