[pkg-lxc-devel] Bug#875733: Some testing

Yves-Alexis Perez corsac at debian.org
Tue Nov 20 11:19:21 GMT 2018


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

I did some testing with the patch from 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875733#31 on top of stretch
LXC (1:2.0.7-2+deb9u2). At first sight, it seems to work (I can start LXC with
lxc.cap.drop = sys_admin), but somehow I can't start multiple LXC correctly
anymore.

For example the sequence:

lxc-start -n test
lxc-attach -n test "echo OK"
lxc-start -n test2
lxc-attach -n test2 "echo OK"
lxc-attach -n test "echo OK"
lxc-attach: cgroups/cgfsng.c: cgfsng_attach: 1830 No such file or directory -
Failed to attach 14680 to /sys/fs/cgroup/systemd//lxc/www-1/cgroup.procs
                               lxc-attach: attach.c: lxc_attach: 992 Expected
to receive sequence number 0: No such file or directory.

It might be some kind of race condition because it doesn't always happen with
two containers, sometimes it's three.

Regards,
- -- 
Yves-Alexis
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAlvz7bkACgkQ3rYcyPpX
RFuToQf/a5JS7roF/wwCRM19OEwgdGTe1fnxuhqtDr5OBViBQoONOutTqb3QIXOe
gLzQd+yeRVrKMg9o3Ynxcb9alYQzPKGTAuvmC5tqXSGMpIFVML8PpP+tN5rJ6Xdm
D2Ulo7piPnZVnUbY7LOPDfx8sr4n1/oUPvq8/kVG/Hdj42KyEP0OQ5kwYPIlXdS2
6kNXCE9pBZrKeMjfUNynL7Xt16f2giv2Y67h9FfSNcutH6GCbdCer82Bb3y7UNtM
HBbuUeexMBFl4uW/a+I5hyG3MaXthtMR3l508WUsJHqMvA6SVHHNxdCYxUNwL3jq
Web8oKolr2nfvk1jnFJkkbtU7S08lA==
=VS7/
-----END PGP SIGNATURE-----



More information about the Pkg-lxc-devel mailing list