- 07 Mar, 2016 2 commits
-
-
Serge Hallyn authored
We may need to revert this, but I *think* we no longer need this with default configs. The idea iirc was that if caller cannot write to devices.allow (i.e. is in a user namespace), then ignore permission failures if the cgroups are already sufficiently setup. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Serge Hallyn authored
Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
- 06 Mar, 2016 1 commit
-
-
Serge Hallyn authored
so that container root can create sub-cgroups Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
- 05 Mar, 2016 3 commits
-
-
Serge Hallyn authored
Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Serge Hallyn authored
Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Serge Hallyn authored
This makes simplifying assumptions: all usable cgroups must be mounted under /sys/fs/cgroup/controller or /sys/fs/cgroup/contr1,contr2. Currently this will only work with cgroup namespaces, because lxc.mount.auto = cgroup is not implemented. So cgfsng_ops_init() returns NULL if cgroup namespaces are not enabled. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
- 04 Mar, 2016 4 commits
-
-
Christian Brauner authored
doc: Update Korean lxc-attach(1) and lxc-copy(1), Improve lxc-unshare(1)
-
Sungbae Yoo authored
Explain that the pipe symbol needs to be escaped for -s. Signed-off-by:Sungbae Yoo <sungbae.yoo@samsung.com>
-
Sungbae Yoo authored
Explain that the pipe symbol needs to be escaped for -e and -s. Update for commit 759d521bSigned-off-by:
Sungbae Yoo <sungbae.yoo@samsung.com>
-
Sungbae Yoo authored
Update for commit cc0607a9Signed-off-by:
Sungbae Yoo <sungbae.yoo@samsung.com>
-
- 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 3 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
-