- 23 Mar, 2018 5 commits
-
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Stéphane Graber authored
lxccontainer: truncate config file
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
pam: Fix missing symbols in module
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
- 22 Mar, 2018 4 commits
-
-
Stéphane Graber authored
Rename ifup/down and remove usless parameter passing
-
Christian Brauner authored
remove leading whitespace from log files
-
fliiiix authored
Signed-off-by:Felix <de-ch@hotmail.de>
-
Tycho Andersen authored
This has annoyed me for a long time, 3.0 seems like the time to fix it :). I think the way that the log prefix was intended to be used was perhaps a dynamic prefix per file, but we don't do that today; we include the filename later in the log message. Instead, we use it as the tool name, which for liblxc is always "lxc", but could also be things like "lxc-cgroup" or whatever. There is absolutely no reason to pad this, since it is always the same for every log file (in fact, we could probably get rid of the prefix all together, but that seems slightly more drastic). Instead, let's just drop this padding. Hopefully this will save thousands of hours of slight annoyance and right scrolling in various pastebins. Signed-off-by:Tycho Andersen <tycho@tycho.ws>
-
- 19 Mar, 2018 4 commits
-
-
Christian Brauner authored
NVIDIA hook improvements
-
Felix Abecassis authored
The "display" driver capability will expose /dev/nvidia-modeset: https://github.com/NVIDIA/libnvidia-container/commit/9398d41d9f571578d6543703d287b014bcf1bb8c The "--ldcache" argument allows overriding the location of the DSO cache: https://github.com/NVIDIA/libnvidia-container/commit/41656bf9ed71448972f3254a10ceb3c53225a4e6 The "--root" argument allows nvidia-container-cli to execute in a different rootfs: https://github.com/NVIDIA/libnvidia-container/commit/019fdc14e325eea55fbe0397a581bda9d0c4c5b1Signed-off-by:
Felix Abecassis <fabecassis@nvidia.com>
-
Felix Abecassis authored
For a reason that I don't understand, the profile transition needs to be done on the current process. Changing the attributes for a subsequent execve(2) (with /proc/self/attr/exec) will cause the kernel to set AT_SECURE in the auxiliary vector and thus secure_getenv(3) inside libnvidia-container will return NULL. Signed-off-by:Felix Abecassis <fabecassis@nvidia.com>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
- 16 Mar, 2018 4 commits
-
-
Christian Brauner authored
tools: fix container use-after-free
-
Felix Abecassis authored
Fields daemonize and error_num were being called after the lxc_container_put. Signed-off-by:Felix Abecassis <fabecassis@nvidia.com>
-
Christian Brauner authored
doc: Remove aufs in Japanese man pages
-
KATOH Yasufumi authored
* and tweak English lxc-copy(1) Signed-off-by:KATOH Yasufumi <karma@jazz.email.ne.jp>
-
- 15 Mar, 2018 8 commits
-
-
Serge Hallyn authored
tree-wide: remove aufs storage driver
-
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
We've announced quite a while back and printed out errors and warning everytime someone used the aufs driver. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
fix handler use-after-free
-
Tycho Andersen authored
The problem here is that __lxc_start frees the handler, so any use afterwards is invalid. Since we don't have access to the actual struct lxc_container object in __lxc_start, let's pass a pointer to error_num in so it can be returned. Unfortunately, I'm a little too paranoid to change the return type of lxc_start, since it returns failure if some of the cleanup fails, which may be useful in some cases. So let's keep this out of band. Closes #2218 Closes #2219 Reported-by:
Felix Abecassis <fabecassis@nvidia.com> Signed-off-by:
Tycho Andersen <tycho@tycho.ws>
-
- 14 Mar, 2018 6 commits
-
-
Christian Brauner authored
conf: do not run the "mount" hooks twice
-
Felix Abecassis authored
Regression introduced by 8353b4c9Signed-off-by:
Felix Abecassis <fabecassis@nvidia.com>
-
Christian Brauner authored
conf: fix clang warning when building w/o libcap
-
Igor Galić authored
when compiling lxc with clang-5.0 parse_cap()'s main loop will produce a warning about a tautological comparision (#2215). By moving the result of computation into a variable (end) this is no longer a constant expression. clang-5.0 does not do dataflow analysis at this point, so it is, to quote someone from #llvm, "morally equivalent" to casting `(int)i`. in addition, we also clean up the #if HAVE_LIBCAP to no longer need its #else branch! Signed-off-by:Igor Galić <igor.galic@automatic-server.com>
-
Christian Brauner authored
tools: fix usage of boolean function set_config_item
-
Felix Abecassis authored
Signed-off-by:Felix Abecassis <fabecassis@nvidia.com>
-
- 13 Mar, 2018 4 commits
-
-
Christian Brauner authored
Revert "cgroups: don't escape if we're not real root"
-
Serge Hallyn authored
This reverts commit 8d961e28. Unfortunately I don't believe the check is correct in the general case. Signed-off-by:
Serge Hallyn <shallyn@cisco.com>
-
Christian Brauner authored
cgroups: don't escape if we're not real root
-
Tycho Andersen authored
If we're host unpriv but root in our userns, we can't really escape cgroups. Let's switch the cgroup escape test to reflect this. Signed-off-by:Tycho Andersen <tycho@tycho.ws>
-
- 12 Mar, 2018 2 commits
-
-
Serge Hallyn authored
usernsexec: init log fd
-
Tycho Andersen authored
lxc-usernsexec uses some functions (e.g. lxc_map_ids()), which are part of the lxc library and thus use the WARN etc. macros to emit log messages. However, it doesn't initialize the log in any way, so these messages go into the ether. lxc-usernsexec currently has no log parameters, so let's just log these to stderr. Someone can do something fancier later if they want. Signed-off-by:Tycho Andersen <tycho@tycho.ws>
-
- 09 Mar, 2018 2 commits
-
-
Christian Brauner authored
tools: Include config.h in tool_utils.c
-
KATOH Yasufumi authored
Since we do not include config.h, personality is not set. This is fix it. See issue #2208. Signed-off-by:KATOH Yasufumi <karma@jazz.email.ne.jp>
-
- 03 Mar, 2018 1 commit
-
-
Christian Brauner authored
Add a workaround for a build issue with old versions of libcap
-