- 10 Mar, 2020 9 commits
-
-
Stéphane Graber authored
memory_utils: remove unneeded inclusion of mntent.h
-
Christian Brauner authored
Fixes: Android Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
tree-wide: cleanup
-
Christian Brauner authored
Closes #3252. Reported-by:
LiFeng <lifeng68@huawei.com> Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
bugfixes
-
- 09 Mar, 2020 21 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
commands_utils: fix socket leak when adding state client
-
Matthias Hardt authored
If lxc_add_state_client() is called with the container already being in the desired state the client fd will never be closed and is leaking. This is due to setting stay_connected in lxc_cmd for LXC_CMD_ADD_STATE_CLIENT. If the desired state isn't already achieved the client fd will later be closed by calling lxc_cmd_fd_cleanup() but in the other case the client configuration isn't added to the handlers state clients. So the client fd has to be closed explicitely. This is simply tested by starting container A and calling lxc-wait -n A -s RUNNING. Signed-off-by:Matthias Hardt <matthias.hardt@gmail.com>
-
Matthias Hardt authored
This reverts commit d7aa5552. Signed-off-by:
Matthias Hardt <matthias.hardt@gmail.com>
-
Matthias Hardt authored
This reverts commit cd0dc360. Signed-off-by:
Matthias Hardt <matthias.hardt@gmail.com>
-
Matthias Hardt authored
lxc_add_state_client() Signed-off-by:Matthias Hardt <matthias.hardt@gmail.com>
-
Matthias Hardt authored
If lxc_add_state_client() is called with the container already being in the desired state the client fd will never be closed and is leaking. This due to setting stay_connected in lxc_cmd for LXC_CMD_ADD_STATE_CLIENT. If the desired state isn't already achieved the client fd will later be closed by calling lxc_cmd_fd_cleanup() but in the other case the client configuration isn't added to the handlers state clients. So the client fd has to be closed explicitely. This is simply tested by starting container A and calling lxc-wait -n A -s RUNNING. Signed-off-by:Matthias Hardt <matthias.hardt@gmail.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 08 Mar, 2020 4 commits
-
-
Christian Brauner authored
network: Adds short sleep between veth setup and neighbour proxy add
-
Christian Brauner authored
network: Uses netlink for IP neighbour proxy management
-
Thomas Parrott authored
There is an intermittent issue, experienced on at least Ubuntu 18.04 (5.3.0-40-generic) and Alpine 3.11 (5.4.12-1-virt) when using the router network interface type that causes the IP proxy neighbour entries on the host side of the veth pair to not be created. The `ip neigh add proxy` command returns without an error, however by the time the network up hook has started the IP neighbour proxy entries are no longer there (if they ever were). I've also tested this using netlink rather than the ip command to add and both are equally affected. Adding a short sleep between setting up the veth pair and adding the proxy entries appears to fix it. Signed-off-by:Thomas Parrott <thomas.parrott@canonical.com>
-
Thomas Parrott authored
Removes need for ip command when managing IP neighbour proxies. Signed-off-by:Thomas Parrott <thomas.parrott@canonical.com>
-
- 05 Mar, 2020 4 commits
-
-
Stéphane Graber authored
utils: only move_fd() when fdopen() has been successful
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
fixes
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 29 Feb, 2020 1 commit
-
-
Christian Brauner authored
src/lxc/raw_syscalls.c: fix sparc assembly
-
- 28 Feb, 2020 1 commit
-
-
Fabrice Fontaine authored
Build of lxc 3.2.1 fails with ultrasparc on: raw_syscalls.c: In function ‘lxc_raw_clone’: raw_syscalls.c:66:3: error: invalid 'asm': invalid operand output code asm volatile( ^~~ Issue has been added with commit b52e8e68 which added %g1 instead of %%g1 Fixes: - http://autobuild.buildroot.org/results/17c2319850f02f24da6fbef9656c07f86fdc5a3aSigned-off-by:
Fabrice Fontaine <fontaine.fabrice@gmail.com>
-