- 27 Feb, 2016 1 commit
-
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
- 26 Feb, 2016 22 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)
-
KATOH Yasufumi authored
Update the description of pty allocation. Update for commit 478dda76. Signed-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp>
-
Sungbae Yoo authored
Update for commit 4608594eSigned-off-by:
Sungbae Yoo <sungbae.yoo@samsung.com>
-
Sungbae Yoo authored
Update for commit 2ae6732f. Signed-off-by:
Sungbae Yoo <sungbae.yoo@samsung.com>
-
Sungbae Yoo authored
Update for commit e986ea3dSigned-off-by:
Sungbae Yoo <sungbae.yoo@samsung.com>
-
Sungbae Yoo authored
Update for commit 7a126ae1Signed-off-by:
Sungbae Yoo <sungbae.yoo@samsung.com>
-
Sungbae Yoo authored
Update for commit c4cafa08Signed-off-by:
Sungbae Yoo <sungbae.yoo@samsung.com>
-
Christian Brauner authored
Otherwise line wrapping might occur too late. Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Serge Hallyn authored
start: setsid in init task as well
-
Tycho Andersen authored
If we don't do this, we'll leak the parent's session id to the container, which maybe doesn't matter, but it still seems better to set it anyway. Also, it breaks CRIU for containers that don't call setsid themselves. Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
- 25 Feb, 2016 11 commits
-
-
Serge Hallyn authored
lxc-attach: rework pty allocation
-
Stéphane Graber authored
cgfs: make sure we use valid cgroup mountpoints
-
Serge Hallyn authored
If lxcfs starts before cgroup-lite, then the first cgroup mountpoints in /proc/self/mountinfo are /run/lxcfs/*. Unprivileged users cannot access these. So privileged containers are ok, and unprivileged containers are ok since they won't cache those to begin with. But unprivileged root-owned containers cache /run/lxcfs/* and then try to use them. So when doing cgroup automounting check whether the mountpoints we have stored are accessible, and if not look for a new one to use. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Christian Brauner authored
Previously we implemented two ways to get a pty for lxc-attach: 1. get a pty in the container 2. get a pty on the host Where 1. was the default and 2. was only tried after 1. failed. For safety and simplicity reasons, we remove 1. and just keep 2. around. Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Christian Brauner authored
Update Japanese man
-
KATOH Yasufumi authored
- Add the description that automount is ignored when cgroup namespaces are supported. Update for commit 4608594e. - Unify terminology of translation Signed-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp>
-
KATOH Yasufumi authored
describe that lxc-clone and lxc-start-ephemeral have been deprecated in those man pages. Update for commit 2ae6732f. Signed-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Stéphane Graber authored
cgfs: do not automount if cgroup namespaces are supported
-
Serge Hallyn authored
In that case containers will be able to mount cgroup filesystems for themselves as they do on a host. This fixes inability to start systemd based containers on cgns-enabled kernels with cgmanager not running. I've tested debian jessie, busybox, ubuntu trusty and xenial, all of which booted ok. However if there are some setups which require premounted cgroupfs (i.e. they don't mount if they detect being in a container), this may cause trouble. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Stéphane Graber authored
configure.ac: add --enable-deprecated flag
-
- 24 Feb, 2016 5 commits
-
-
Christian Brauner authored
- lxc-clone and lxc-start-ephemeral are marked deprecated. We add a --enable-deprecated flag to configure.ac allowing us to enable these deprecated executables - update tests to use lxc-copy instead of lxc-clone Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Christian Brauner authored
- add deprecation not to man pages - print deprecation info to stderr when the executables are invoked Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Christian Brauner authored
Update Japanese man
-
KATOH Yasufumi authored
Update for commit 02e5d92bSigned-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp>
-
KATOH Yasufumi authored
Update for commit e986ea3dSigned-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp>
-
- 23 Feb, 2016 1 commit
-
-
Stéphane Graber authored
update manpages
-