- 03 Mar, 2016 11 commits
-
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Stéphane Graber authored
console.{c.h}: add/improve documentation -
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Christian Brauner authored
plamo: Update release version and repository for getting packages
-
KATOH Yasufumi authored
Signed-off-by:KATOH Yasufumi <karma@jazz.email.ne.jp>
-
Christian Brauner authored
Update Japanese lxc-attach(1) and lxc-copy(1)
-
KATOH Yasufumi authored
Explain that the pipe symbol needs to be escaped for -e and -s. Update for commit 759d521bSigned-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp>
-
KATOH Yasufumi authored
Update for commit cc0607a9Signed-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp>
-
Stéphane Graber authored
2016 03 02/cgfs.rmperms
-
Serge Hallyn authored
We have nothing else testing this, and it was a real regression in lp bug 1552355. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Serge Hallyn authored
info_ptr->created_paths_count can be 0, so don't blindly dereference info_ptr->created_paths[ created_paths_count - 1]. Apparently we never used to have 0 at the cleanup_name_on_this_level before, but now that we can fail with -eperm and not just -eexist, we do. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
- 02 Mar, 2016 6 commits
-
-
Serge Hallyn authored
don't always warn about unused cgroups, it's noisy and not helpful Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Serge Hallyn authored
Otherwise unprivileged users may not have the privilege needed to remove their cgroups. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Stéphane Graber authored
Add features/small improvements to man pages (lxc-attach, lxc-copy)
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Christian Brauner authored
Explain that the pipe symbol needs to be escaped for -e and -s. Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
- 01 Mar, 2016 5 commits
-
-
Stéphane Graber authored
lxc-copy: correct order of copy and original & lxc-attach: setup ts->stdoutfd
-
Christian Brauner authored
Otherwise we cannot do things like: - lxc-attach -n a runlevel </dev/null - lxc-attach -n a runlevel </dev/null 2>/dev/null - lxc-attach -n a runlevel </dev/null 2>/dev/null | cat Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Christian Brauner authored
lxc-copy -n ORIG -N COPY -e accidently printed "Created ORIG as clone of COPY" instead of "Created COPY as clone of ORIG". Fix the ordering. Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Stéphane Graber authored
start.c: do not reboot on lxc.hook.post-stop fail
-
Christian Brauner authored
lxc should not reboot the container when lxc.hook.post-stop fails. It should simply shutdown. This makes the behavior of lxc.hook.post-stop and lxc.hook.pre-start consistent. When lxc.hook.pre-start fails, the container does not start. Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
- 29 Feb, 2016 2 commits
-
-
Serge Hallyn authored
lxc-attach: always allocate current controlling pty
-
Christian Brauner authored
lxc-attach uses lxc_console_create() to allocate a pty on the host. lxc_console_create() in turn calls lxc_console_peer_default() which either makes the current controlling pty our controlling pty for the container, or uses whatever the user gave us (e.g. /dev/tty2 etc.). For lxc-attach we always want the current controlling pty to be used. This commit ensures that we're in fact always using the current controlling pty. The commit also fixes a segfault when the user specified lxc.console.path = none. Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
- 27 Feb, 2016 3 commits
-
-
Serge Hallyn authored
cgfs: don't chown/chmod/rm non-existing paths
-
Christian Brauner authored
Dirty fix for the current noisiness when lxc_cgroupfs_create() could not create cgroups. Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
- 26 Feb, 2016 13 commits
-
-
Christian Brauner authored
cgfs: ignore mount prefix in mountinfo if cgroup namespaces are suppo…
-
Serge Hallyn authored
This is not 100% correct, but will suffice until we fix the kernel so that we can distinguish between bind mounts and namespaced cgroupfs mounts. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Christian Brauner authored
fix cgfs failure for unpriv users
-
Serge Hallyn authored
Cgmanager was taught awhile ago that only some cgroup controllers are crucial. Teach cgfs the same thing. This patch needs improvement, but will fix failure of lxc without cgmanager for unprivileged users for now. In particular, needed improvements include: 1. the check for crucial subsystems needs to include lxc.use 2. we should keep a list of the actually used subsystems so we don't keep trying to chmod and enter after create has found we couldn't use a particular subsystem This fixes unprivileged lxc use. It does not appear to suffice to fix nested unprivilegd lxd usage. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Christian Brauner authored
Rewrite template script for Alpine Linux
-
Stéphane Graber authored
lxc-ls: count spaces
-
Jakub Jirutka authored
Signed-off-by:Jakub Jirutka <jakub@jirutka.cz>
-
Jakub Jirutka authored
Signed-off-by:Jakub Jirutka <jakub@jirutka.cz>
-
Jakub Jirutka authored
Signed-off-by:Jakub Jirutka <jakub@jirutka.cz>
-
Jakub Jirutka authored
Now it runs even on minimal Alpine system without bash, curl, openssl or rsync. Signed-off-by:Jakub Jirutka <jakub@jirutka.cz>
-
Jakub Jirutka authored
New template script is more readable and robust, uses cache and external LXC config file as other templates. Signed-off-by:Jakub Jirutka <jakub@jirutka.cz>
-
Christian Brauner authored
Update Korean manuals
-
Christian Brauner authored
doc: Update Japanese lxc-attach(1)
-