- 13 Sep, 2016 3 commits
-
-
Tycho Andersen authored
2cb80427 introduced a malloc without a matching free. Signed-off-by:
Tycho Andersen <tycho.andersen@canonical.com>
-
Stéphane Graber authored
lxczfs: small fixes
-
Christian Brauner authored
- We expect destroy to fail in zfs_clone() so try to silence it so users are not irritated when they create zfs snapshots. - Add -r recursive to zfs_destroy(). This code is only hit when a) the container has no snapshots or b) the user calls destroy with snapshots. So this should be safe. Without -r snapshots will remain. Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
- 08 Sep, 2016 2 commits
-
-
Christian Brauner authored
c/r: zero a smaller than known migrate_opts struct
-
Tycho Andersen authored
Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
- 06 Sep, 2016 2 commits
-
-
Christian Brauner authored
templates: use correct cron version in alpine template
-
Alex Athanasopoulos authored
Signed-off-by:Alex Athanasopoulos <alex@melato.org>
-
- 05 Sep, 2016 3 commits
-
-
Christian Brauner authored
configure: add --disable-werror
-
Stéphane Graber authored
syslog tweaks
-
Stéphane Graber authored
console: use correct log name
-
- 04 Sep, 2016 4 commits
-
-
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
- add lxc_syslog_priority_to_string() - add lxc_syslog_priority_to_int() - remove syslog_facility struct - add lxc.syslog to lxc_getconfig struct - adapt config_syslog() callback Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Jérôme Pouiller authored
-Werror may break builds on some scenarios with trivialities (especially during developments). Signed-off-by:Jérôme Pouiller <jezz@sysmic.org>
-
- 03 Sep, 2016 1 commit
-
-
Christian Brauner authored
lxc_console is used with lxc_console.c Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
- 01 Sep, 2016 2 commits
-
-
Christian Brauner authored
templates: remove creation of bogus directory in Debian templates
-
Maxime BESSON authored
An incorrect quoting introduced in bf39edb3 caused a /{lib,etc} folder to appear in Debian templates The very next line : mkdir -p "${rootfs}/etc/systemd/system/getty.target.wants makes creating ${rootfs}/etc/systemd/system/ unnecessary in the first place Signed-off-by:
Maxime Besson <maxime.besson@smile.fr>
-
- 31 Aug, 2016 2 commits
-
-
Stéphane Graber authored
templates: rm halt.target -> sigpwr.target symlink
-
Christian Brauner authored
Given commit 330ae3d3: lxccontainer: detect if we should send SIGRTMIN+3 This is required by systemd to cleanly shutdown. Other init systems should not have SIGRTMIN+3 in the blocked signals set. we should stop symlinking halt.target to sigpwr.target for systemd. Signed-off-by:
Christian Brauner <cbrauner@suse.de>
-
- 27 Aug, 2016 2 commits
-
-
Christian Brauner authored
set FULL_PATH_NAMES=NO in doc/api/Doxyfile
-
Evgeni Golov authored
otherwise the generated docs have the full build path in them and nonbody cares that the files were built in /build/lxc-_BVY2u/lxc-2.0.4/src/lxc/ Signed-off-by:Evgeni Golov <evgeni@debian.org>
-
- 26 Aug, 2016 10 commits
-
-
Christian Brauner authored
Migration fixes
-
Tycho Andersen authored
Previously, we write a "success" status but tried to parse the pid. This meant that we wouldn't notice a successful restore but failure to parse the pid, which was a little strange. We still don't know the child pid, so we will end up with a restored process tree and a running container, but at least in this case the API will return false indicating that something failed. We could kill(-1, 9) in this case, but since liblxc runs as root sometimes (e.g. LXD), that would be a Very Bad Thing. Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Tycho Andersen authored
Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Christian Brauner authored
c/r: Fix pid_t on some arches
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Christian Brauner authored
c/r: use /proc/self/tid/children instead of pidfile
-
Tycho Andersen authored
All we really needed a unique temp file for was passing the pid. Since CRIU opened this with O_EXCL | O_CREAT, this was "safe" (users could still overwrite it afterwards, but the monitor would immediately die since the only valid number in there was the init process). In any case, we can just read /proc/self/tid/children, which lists the child process. Closes #1150 Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Serge Hallyn authored
tools: use boolean for ret in lxc_device.c
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Serge Hallyn authored
tools: use exit(EXIT_*) everywhere
-
- 23 Aug, 2016 4 commits
-
-
Christian Brauner authored
add PLD Linux support to upstream repo
-
Elan Ruusamäe authored
from pld-linux repo: https://github.com/pld-linux/lxc/commits/auto/th/lxc-2.0.4-1/lxc-pld.in.sh https://github.com/pld-linux/lxc/commits/auto/th/lxc-2.0.4-1/lxc-pld.patchSigned-off-by:
Elan Ruusamäe <glen@delfi.ee>
-
Christian Brauner authored
templates: fedora requires openssl binary
-
Elan Ruusamäe authored
/usr/share/lxc/templates/lxc-fedora: line 1078: openssl: command not found Signed-off-by:Elan Ruusamäe <glen@delfi.ee>
-
- 22 Aug, 2016 1 commit
-
-
Christian Brauner authored
use fd 9 instead of 200
-
- 21 Aug, 2016 1 commit
-
-
Elan Ruusamäe authored
to catch up mksh changes from 17abf278Signed-off-by:
Elan Ruusamäe <glen@delfi.ee>
-
- 19 Aug, 2016 3 commits
-
-
Stéphane Graber authored
seccomp: non functional changes
-
Christian Brauner authored
- log more errnos - adapt coding style Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Stéphane Graber authored
confile: add more archs to lxc_config_parse_arch()
-