- 01 Aug, 2016 2 commits
-
-
Christian Brauner authored
doc: Add documentation of lxc.syslog to Japanese lxc.container.conf(5)
-
KATOH Yasufumi authored
and add local6 to valid facility Signed-off-by:KATOH Yasufumi <karma@jazz.email.ne.jp>
-
- 29 Jul, 2016 4 commits
-
-
Christian Brauner authored
Add syslog support
-
Baptiste Daroussin authored
Signed-off-by:Baptiste Daroussin <bapt@gandi.net>
-
Baptiste Daroussin authored
To activate it specify lxc.syslog = <afacility> For now the available facilities are: daemon, local[0-7] others will be rejected syslog got only activated after the function that checks for inheritance of fd is passed in order to make sure the syslog fd is not inherited and prevent the creation of the fd is any log have been issued during the checks (which would end up in an infinite loop) Signed-off-by:
Fatih ACAR <fatih.acar@gandi.net> Signed-off-by:
Ahmed Amamou <ahmed@gandi.net> Signed-off-by:
Baptiste Daroussin <bapt@gandi.net> Signed-off-by:
William Dauchy <william@gandi.net>
-
Stéphane Graber authored
criu: replace tmpnam() with mkstemp()
-
- 28 Jul, 2016 7 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Christian Brauner authored
conf: set pty_info to NULL after free
-
Wolfgang Bumiller authored
This fixes a double free corruption on container-requested reboots when lxc_spawn() fails before receiving the ttys, as lxc_fini() (part of __lxc_start()'s cleanup) calls lxc_delete_tty(). Signed-off-by:Wolfgang Bumiller <w.bumiller@proxmox.com>
-
Christian Brauner authored
attach: use setns instead of unshare
-
Stéphane Graber authored
Revert "Merge pull request #1103 from brauner/2016-07-27/fix_android_…
-
Christian Brauner authored
This reverts commit 25796416, reversing changes made to 813d7f14. Contrary to what we suspected the android build errors were not caused by missing wrong relative include paths. Rather, they were caused by autoconf. Signed-off-by:
Christian Brauner <cbrauner@suse.de>
-
oc authored
lxc-checkpoint will fail because process createdy by lxc-attach has incorrect cgroup ns. It needs to use "setns" instead of "unshare" to set cgroup ns. Signed-off-by:Chen Haiquan <oc@yunify.com>
-
- 27 Jul, 2016 2 commits
-
-
Stéphane Graber authored
bdev: include own getline function in bdev.h
-
Christian Brauner authored
Fixes android build error: bdev/bdev.c: In function 'detect_fs': bdev/bdev.c:686:2: error: implicit declaration of function 'getline' [-Werror=implicit-function-declaration] while (getline(&line, &linelen, f) != -1) { ^ Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
- 26 Jul, 2016 2 commits
-
-
Stéphane Graber authored
Add a prefix to the lxc.pc
-
Sergio Schvezov authored
This allows installing to different locations and using the lxc.pc to build using the generated includedir and libdir. Signed-off-by:Sergio Schvezov <sergio.schvezov@ubuntu.com>
-
- 25 Jul, 2016 2 commits
-
-
Stéphane Graber authored
cgfsng: fix is_lxcfs() and is_cgroupfs()
-
Christian Brauner authored
Both functions advertise that they return true when strncmp() == 0 and false when strncmp() != 0 but so far they returned the exact opposite. Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
- 23 Jul, 2016 2 commits
-
-
Christian Brauner authored
lxc-alpine: mount tmpfs under /run
-
Jakub Jirutka authored
When running under grsecurity kernel or userns, it can't be mounted from inside. Signed-off-by:Jakub Jirutka <jakub@jirutka.cz>
-
- 22 Jul, 2016 4 commits
-
-
Stéphane Graber authored
lxc-copy: do not use mkostemp and dprintf
-
Christian Brauner authored
Fixes android builds: DSBINDIR=\"/data/lxc/lxc/sbin\" -I/build/libcap/libcap/include/ -Wall -Werror -MT lxc_copy.o -MD -MP -MF $depbase.Tpo -c -o lxc_copy.o lxc_copy.c &&\ mv -f $depbase.Tpo $depbase.Po lxc_copy.c: In function 'mount_tmpfs': lxc_copy.c:834:2: error: implicit declaration of function 'mkostemp' [-Werror=implicit-function-declaration] fd = mkostemp(premount, O_CLOEXEC); ^ lxc_copy.c:841:2: error: implicit declaration of function 'dprintf' [-Werror=implicit-function-declaration] ret = dprintf(fd, "#! /bin/sh\n" ^ Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Stéphane Graber authored
c/r: use PRIu64 format specifier
-
Christian Brauner authored
Fixes build failures on arm: criu.c: In function ‘exec_criu’: criu.c:310:4: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Werror=format=] ret = sprintf(ghost_limit, "%lu", opts->user->ghost_limit); ^ In file included from criu.c:42:0: log.h:285:9: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Werror=format=] struct lxc_log_locinfo locinfo = LXC_LOG_LOCINFO_INIT; \ ^ criu.c:312:5: note: in expansion of macro ‘ERROR’ ERROR("failed to print ghost limit %lu", opts->user->ghost_limit); ^ Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
- 21 Jul, 2016 1 commit
-
-
Stéphane Graber authored
simple enhancements of lxc-debian-template-script
-
- 20 Jul, 2016 8 commits
-
-
Andreas Freudenberg authored
Signed-off-by:Andreas Freudenberg <andreas.freudenberg@licomonch.net>
-
Andreas Freudenberg authored
Signed-off-by:Andreas Freudenberg <andreas.freudenberg@licomonch.net>
-
Andreas Freudenberg authored
Signed-off-by:Andreas Freudenberg <andreas.freudenberg@licomonch.net>
-
Christian Brauner authored
doc: Update Korean lxc-copy(1) to include tmpfs option
-
Sungbae Yoo authored
Update for commit a361e562Signed-off-by:
Sungbae Yoo <sungbae.yoo@samsung.com>
-
Christian Brauner authored
Set up MTU for vlan-type interfaces.
-
Christian Brauner authored
doc: Update Japanese lxc-copy(1) to include tmpfs option
-
KATOH Yasufumi authored
Update for commit a361e562Signed-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp>
-
- 19 Jul, 2016 5 commits
-
-
Christian Brauner authored
c/r: add support for ghost-limit in CRIU
-
Tycho Andersen authored
This is an old option that we probably should have exposed long ago :) Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Serge Hallyn authored
[RFC]: lxccontainer: detect if we should send SIGRTMIN+3
-
Christian Brauner authored
This is required by systemd to cleanly shutdown. Other init systems should not have SIGRTMIN+3 in the blocked signals set. Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Serge Hallyn authored
lxc-copy: update manpage to include tmpfs option
-
- 18 Jul, 2016 1 commit
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-