- 24 Mar, 2016 5 commits
-
-
Aleksandr Mezin authored
Signed-off-by:Aleksandr Mezin <mezin.alexander@gmail.com>
-
Aleksandr Mezin authored
This gives more meaningful error message than "invalid sequence". Signed-off-by:Aleksandr Mezin <mezin.alexander@gmail.com>
-
Aleksandr Mezin authored
Signed-off-by:Aleksandr Mezin <mezin.alexander@gmail.com>
-
Christian Brauner authored
lxc-busybox: Touch /etc/fstab in the container rootfs
-
Bogdan Purcareata authored
Signed-off-by:Bogdan Purcareata <bogdan.purcareata@nxp.com>
-
- 23 Mar, 2016 2 commits
-
-
Serge Hallyn authored
open_without_symlink: Don't SYSERROR on something else than ELOOP
-
Christian Brauner authored
The open_without_symlink routine has been specifically created to prevent mounts with synlinks as source or destination. Keep SYSERROR'ing in that particular scenario, but leave error handling to calling functions for the other ones - e.g. optional bind mount when the source dir doesn't exist throws a nasty error. Signed-off-by:Bogdan Purcareata <bogdan.purcareata@nxp.com>
-
- 22 Mar, 2016 4 commits
-
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Christian Brauner authored
Fix 907
-
Tycho Andersen authored
Hopefully this will avoid name collisions with any user binaries, since criu is just an implementation detail. Closes #907 Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Tycho Andersen authored
Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
- 21 Mar, 2016 4 commits
-
-
Serge Hallyn authored
Fix console none migration
-
Tycho Andersen authored
If we set lxc.console=none, this fd won't exist, so let's not fail if it doesn't. We already partially handled this case correctly, so let's actually handle it correctly :) Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Tycho Andersen authored
We don't pass anything on the restore side since we didn't save anything, but the restore side will expect something if we pass this. Instead, let's not pass anything. Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
- 18 Mar, 2016 4 commits
-
-
Stéphane Graber authored
Better criu logging
-
Tycho Andersen authored
In particular, when CRIU fails before it has its log completely initialized (e.g. if the log directory doesn't exist, or if the argument parser fails), it prints this to stdout. Let's log that. Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Tycho Andersen authored
Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
- 17 Mar, 2016 11 commits
-
-
Christian Brauner authored
download: Bump to compat level 3
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Stéphane Graber authored
autodev: don't always create /dev/console
-
Tycho Andersen authored
In particular, only create /dev/console when it is set to "none". Otherwise, we will bind mount a pts device later, so let's just leave it. Also, when bind mounting the pts device, let's create /dev/console if it doesn't exist, since it may not already exist due to the above :) v2: s/ot/to v3: add O_EXCL so we actually get EEXIST, use the right condition for mount_console (we want to compare against console.path, not console.name, and console.path can be null) Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Stéphane Graber authored
cgfsng: include sys/mount.h
-
Serge Hallyn authored
We need to pass nosuid+nexec+nodev to remount to stop the kernel from denying it. When remounting the container's path read-write, use the right dest path. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Serge Hallyn authored
for the define of RELATIME for android Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Serge Hallyn authored
Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Serge Hallyn authored
to hopefully define RELATIME for android Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Stéphane Graber authored
2016 03 16/cgroupauto
-
Serge Hallyn authored
Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
- 16 Mar, 2016 4 commits
-
-
Serge Hallyn authored
If cgmanager is running, use it. This allows the admin to simply stop cgmanager if they don't want to use it. The other way there is no way to choose to use cgmanager. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Serge Hallyn authored
Also add testcase for each of the cgroup{,-full}:{rw,ro,mixed} cases. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Christian Brauner authored
Prevent access to pci devices
-
Serge Hallyn authored
Prevent privileged containers from messing with the host's pci devices directly. Refuse access under /proc/bus, and drop cap_sys_rawio. Some containers may need to re-enable cap_sys_rawio (i.e. if they run an X server). It may be desirable to break some of this stuff into files which can be separately included (or not included), but this patch isn't the right place for that. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
- 15 Mar, 2016 6 commits
-
-
Stéphane Graber authored
2016 03 15/nest
-
Serge Hallyn authored
we're having it inserted in every config by the lxcapi_create itself. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Serge Hallyn authored
Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Stéphane Graber authored
build: fix build on android (and ppc)
-
Tycho Andersen authored
The problem here is that dev_t on most platforms is `long unsigned`, but on android (and ppc?) it's `long long unsigned`. Let's just upcast to `long long unsigned` and use that format string to keep the compilers happy. Safety first! Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Stéphane Graber authored
Dont require dev console none
-