- 30 Mar, 2016 1 commit
-
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
- 29 Mar, 2016 6 commits
-
-
Serge Hallyn authored
add funs to mmap() files to \0-terminated strings
-
Christian Brauner authored
Rename lxc_mmap()/lxc_munmap() to lxc_strmmap()/lxc_strmunmap(). Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Christian Brauner authored
In order to do this we make use of the MAP_FIXED flag of mmap(). MAP_FIXED should be safe to use when it replaces an already existing mapping. To this end, we establish an anonymous mapping that is one byte larger than the underlying file. The pages handed to us are zero filled. Now we establish a fixed-address mapping starting at the address we received from our anonymous mapping and replace all bytes excluding the additional \0-byte with the file. This allows us to use normal string-handling function. The idea implemented here is similar to how shared libraries are mapped. Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Stéphane Graber authored
start: only use host's /dev/null when absolutely necessary
-
Tycho Andersen authored
See comments for details, but basically, only use the host's /dev/null when absolutely necessary (i.e. there is no reasonable /dev/null in the container). Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
- 26 Mar, 2016 6 commits
-
-
Stéphane Graber authored
always provide a default mirror for debootstraping Ubuntu
-
Stéphane Graber authored
only enable Debian's main repository by default
-
Evgeni Golov authored
This inverts the logic done in c2a85d04 to default to "main only" and allow enabling contrib and non-free on user request. Closes: #625 Signed-off-by:
Evgeni Golov <evgeni@debian.org>
-
Evgeni Golov authored
debootstrap sometimes selects the wrong mirror due to [1] [1] https://bugs.debian.org/819300Signed-off-by:
Evgeni Golov <evgeni@debian.org>
-
Christian Brauner authored
use httpredir.debian.org as the default Debian mirror
-
Evgeni Golov authored
http.debian.net is an alias anyways and httpredir.debian.org is the official name of the service Signed-off-by:Evgeni Golov <evgeni@debian.org>
-
- 25 Mar, 2016 5 commits
-
-
Christian Brauner authored
Timezone inside the container is not the same as the host
-
Christian Brauner authored
Fix installation of out-of-tree (VPATH) builds
-
Thomas Tanaka authored
In OL6, it is missing /etc/sysconfig/clock Tested-by:
Deepak Patel <deepak.patel@oracle.com> Signed-off-by:
Thomas Tanaka <thomas.tanaka@oracle.com>
-
Aleksandr Mezin authored
Signed-off-by:Aleksandr Mezin <mezin.alexander@gmail.com>
-
Serge Hallyn authored
Fix daemonized containers without autodev and/or /dev mount
-
- 24 Mar, 2016 9 commits
-
-
Aleksandr Mezin authored
Sometimes, a container doesn't have /dev/null. For example, I have this problem with Android container. This fixes #910 (github) for me. Signed-off-by:Aleksandr Mezin <mezin.alexander@gmail.com>
-
Aleksandr Mezin authored
Signed-off-by:Aleksandr Mezin <mezin.alexander@gmail.com>
-
Bogdan Purcareata authored
The warning has been present since commit 32b37181 (with no purpose stated). Support for dynamically linked Busybox has been added since commit bf6cc736. Haven't encountered any issues with dynamically linked Busybox in my last 2 years' testing. Signed-off-by:
Bogdan Purcareata <bogdan.purcareata@nxp.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
Stéphane Graber authored
lxc.spec.in: fixed hardcoded path to lxc-net config file
-
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>
-
Johannes Kastl authored
Signed-off-by:Johannes Kastl <git@ojkastl.de>
-
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 3 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>
-