- 09 Feb, 2018 3 commits
-
-
Tycho Andersen authored
In both of these cases if there is actually an error, we won't close the pipe and the api call will hang. Instead, let's be sure to close the pipe before waiting, so that it doesn't hang. Signed-off-by:Tycho Andersen <tycho@tycho.ws>
-
Christian Brauner authored
-
duguhaotian authored
Signed-off-by:duguhaotian <duguhaotian@gmail.com>
-
- 08 Feb, 2018 14 commits
-
-
Stéphane Graber authored
start: check for cgroup namespace support
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
2018 02 08/priv
-
Serge Hallyn authored
The only cases where we really need to be privileged with respect to the host is when we are trying to mknod, and in some cases to do with a physical network device. This patch leaves the detection of the network device cases as a TODO. This should fix the currently broken case of starting a privileged container with at least one veth nic, nested inside an unprivileged container. Cc: Tycho Andersen <tycho@tycho.ws> Signed-off-by:Serge Hallyn <shallyn@cisco.com>
-
Serge Hallyn authored
Sometimes we want to know whether we are privileged wrt our namespaces, and sometimes we want to know whether we are priv wrt init_user_ns. Signed-off-by:Serge Hallyn <shallyn@cisco.com>
-
Stéphane Graber authored
confile: add lxc.namespace.share.[namespace], lxc.namespace.keep, lxc.namespace.clone
-
Stéphane Graber authored
tools/lxc-ls: fix logic for unpriv containers
-
Stéphane Graber authored
cgfsng: add required remount flags
-
Christian Brauner authored
-
Marcos Paulo de Souza authored
Signed-off-by:Marcos Paulo de Souza <marcos.souza.org@gmail.com>
-
Marcos Paulo de Souza authored
Signed-off-by:
Marcos Paulo de Souza <marcos.souza.org@gmail.com> Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
-
Marcos Paulo de Souza authored
Closes #870. Signed-off-by:Marcos Paulo de Souza <marcos.souza.org@gmail.com>
-
- 07 Feb, 2018 8 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Issues fixed: - lxc-centos died about a missing /run directory - lxc-centos complained about some config files it couldn't modify - the new container got stuck at startup time for a minute (literally), waiting for systemd-remount-fs startup script Of course it still works for RHEL 6, CentOS 6 and 7 as well. I did not verify earlier CentOS or RHEL releases. Signed-off-by:
Harald Dunkel <harald.dunkel@aixigo.de> Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
LiFeng authored
Perform MS_REMOUNT on mounts with MS_RDONLY. Signed-off-by:
LiFeng <lifeng68@huawei.com> Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
l00415420 authored
Set the same environment variables that were used when starting the container when attaching to the container. Signed-off-by:
LiFeng <lifeng68@huawei.com> Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
- 06 Feb, 2018 7 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>
-
Serge Hallyn authored
cgroups: add unified hierarchy support
-
Serge Hallyn authored
tools: add UNPRIVILEGED field in fancy output mode
-
- 05 Feb, 2018 5 commits
-
-
Serge Hallyn authored
Sigterm handling
-
Christian Brauner authored
lxc-init: use SIGKILL after alarm timeout
-
Tycho Andersen authored
see comment for details. Signed-off-by:Tycho Andersen <tycho@tycho.ws>
-
Tycho Andersen authored
For the ->execute() case, we want to make sure the application dies when SIGHUP is received. The next patch will ignore SIGHUP in the lxc monitor, because tasks inside the container send SIGHUP to init to have it reload its config sometimes, and we don't want to do that with init.lxc, since it might actually kill the container if it forwards SIGHUP to the child and the child can't handle it. Signed-off-by:Tycho Andersen <tycho@tycho.ws>
-
Tycho Andersen authored
d76e3e1a inadvertently switched the alarm timeout from sigterm to sigkill. We really want sigkill here, so let's bring it back. Signed-off-by:
Tycho Andersen <tycho@tycho.ws>
-
- 02 Feb, 2018 2 commits
-
-
Christian Brauner authored
hooks: change the semantic of NVIDIA_VISIBLE_DEVICES=""
-
Felix Abecassis authored
With LXC, you can override the value of an environment variable to null, but you can't unset an existing variable. The NVIDIA hook was previously activated when NVIDIA_VISIBLE_DEVICES was set to null. As a result, it was not possible to disable the hook by overriding the environment variable in the configuration. The hook can now be disabled by setting NVIDIA_VISIBLE_DEVICES to null or to the new special value "void". Signed-off-by:Felix Abecassis <fabecassis@nvidia.com>
-
- 01 Feb, 2018 1 commit
-
-
Christian Brauner authored
debian: We must use iproute on wheezy
-