[lxc/lxc] 112ccb: cgroups: fix fallback attach codepath

0 views
Skip to first unread message

Stéphane Graber

unread,
Apr 30, 2021, 10:04:25 AM4/30/21
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 112ccbc91300b21642daddf77a52c2113c320608
https://github.com/lxc/lxc/commit/112ccbc91300b21642daddf77a52c2113c320608
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-30 (Fri, 30 Apr 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
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 <christia...@ubuntu.com>


Commit: 122413ad4efaee09c67689f27f83e0e06ce444c0
https://github.com/lxc/lxc/commit/122413ad4efaee09c67689f27f83e0e06ce444c0
Author: Stéphane Graber <stgr...@ubuntu.com>
Date: 2021-04-30 (Fri, 30 Apr 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
Merge pull request #3817 from brauner/2021-04-30.fixes

cgroups: fix fallback attach codepath


Compare: https://github.com/lxc/lxc/compare/b75c91deebbc...122413ad4efa
Reply all
Reply to author
Forward
0 new messages