]> git.ipfire.org Git - thirdparty/systemd.git/commit
nspawn: also fall back to legacy cgroup hierarchy for old containers 4310/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 8 Oct 2016 23:03:53 +0000 (19:03 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 8 Oct 2016 23:03:53 +0000 (19:03 -0400)
commita8725a06e6c5073325f2f6a7d6ef115c11d30a51
treec44fea3fb8a9fe6ca8692566aa36f981e458822a
parent0fd9563fdeff88458f1a533ac50445abc89e56d8
nspawn: also fall back to legacy cgroup hierarchy for old containers

Current systemd version detection routine cannot detect systemd 230,
only systmed >= 231. This means that we'll still use the legacy hierarchy
in some cases where we wouldn't have too. If somebody figures out a nice
way to detect systemd 230 this can be later improved.
src/nspawn/nspawn.c