]> git.ipfire.org Git - thirdparty/lxc.git/commit
cgroups: fix fallback attach codepath 3817/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 30 Apr 2021 13:47:35 +0000 (15:47 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 30 Apr 2021 13:49:39 +0000 (15:49 +0200)
commit112ccbc91300b21642daddf77a52c2113c320608
treef362aa457f88ab3d3f40f0abec715aaccabd88d4
parentb75c91deebbc37eb351df6092085117710359064
cgroups: fix fallback attach codepath

When we attach to an old server the server can return ENOSYS instead of
ENOCGROUP2 which causes LXC to abort the attach unnecessary. Fix this!

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c