- 12 Aug, 2016 5 commits
-
-
Christian Brauner authored
When a container c is on a btrfs filesystem but is directory backed, copying the container will default to snapshot. This is because of should_default_to_snapshot() returning true in this case because c is on a btrfs filesystem. We should make sure that should_default_to_snapshot() only returns true, when c itself is a btrfs subvolume. Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Christian Brauner authored
Update English and Japanese lxc-attach(1)
-
KATOH Yasufumi authored
* Add undocumented options (-v/--set-var, --keep-var, -f/--rcfile) * Change order of option in SYNOPSIS (-L that is placed after "command") * Add long options in SYNOPSIS Signed-off-by:KATOH Yasufumi <karma@jazz.email.ne.jp>
-
KATOH Yasufumi authored
* Add undocumented options (-v/--set-var, --keep-var, -f/--rcfile) * Change order of option in SYNOPSIS (-L that is placed after "command") * Add long options in SYNOPSIS Signed-off-by:KATOH Yasufumi <karma@jazz.email.ne.jp>
-
Serge Hallyn authored
log: fix log_append_stderr()
-
- 11 Aug, 2016 2 commits
-
-
Christian Brauner authored
Log output currently looks like this: lxc-copy: debbdev/lxcdir.c: dir_clonepaths: 45 directories cannot be snapshotted. Try aufs or overlayfs. we rather want it to be: lxc-copy: deb: bdev/lxcdir.c: dir_clonepaths: 45 directories cannot be snapshotted. Try aufs or overlayfs. Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Serge Hallyn authored
tree-wide: replace readdir_r() with readdir()
-
- 09 Aug, 2016 1 commit
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
- 07 Aug, 2016 2 commits
-
-
Stéphane Graber authored
templates: add support for new arch on Alpine Linux
-
Carlo Landmeter authored
Signed-off-by:Carlo Landmeter <clandmeter@gmail.com>
-
- 04 Aug, 2016 3 commits
-
-
Christian Brauner authored
lxc-attach: add -f option & cleanup
-
Wolfgang Bumiller authored
The rest of this block uses spaces instead of tabs already. Signed-off-by:Wolfgang Bumiller <w.bumiller@proxmox.com>
-
Wolfgang Bumiller authored
Otherwise a container with a non-standard configuration file can be started but not attached to. Fixes the following case: # lxc-start -n ct -f /different/path/my.config # lxc-attach -n ct Error: container ct is not defined Signed-off-by:Wolfgang Bumiller <w.bumiller@proxmox.com>
-
- 02 Aug, 2016 2 commits
-
-
Christian Brauner authored
doc: Add documentation of lxc.syslog to Korean lxc.container.conf(5)
-
Sungbae Yoo authored
Update for commit 204dfdf2Signed-off-by:
Sungbae Yoo <sungbae.yoo@samsung.com>
-
- 01 Aug, 2016 3 commits
-
-
Stéphane Graber authored
partially reorganize repo
-
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>
-
- 31 Jul, 2016 3 commits
-
-
Christian Brauner authored
- tools: move lxc commands to common subfolder - tests: adapt include search path Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Christian Brauner authored
This allows us to avoid using relative includes which is cleaner in the long run when we create subdirectories for other components of liblxc. Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
- 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>
-