]> git.proxmox.com Git - mirror_lxc.git/log
mirror_lxc.git
6 years agoRelease LXC 3.0.0 lxc-3.0.0
Stéphane Graber [Wed, 28 Mar 2018 01:49:16 +0000 (21:49 -0400)]
Release LXC 3.0.0

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
6 years agoMerge pull request #2239 from brauner/2018-03-27/fixup_action_script
Stéphane Graber [Tue, 27 Mar 2018 20:49:34 +0000 (16:49 -0400)]
Merge pull request #2239 from brauner/2018-03-27/fixup_action_script

Allow passing action scripts to CRIU

6 years agoAllow passing action scripts to CRIU
Eytan Heidingsfeld [Sun, 25 Mar 2018 21:10:21 +0000 (21:10 +0000)]
Allow passing action scripts to CRIU

Closes #2236.

Signed-off-by: Eytan Heidingsfeld <eytanh@gmail.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoMerge pull request #2238 from stgraber/master
Christian Brauner [Tue, 27 Mar 2018 20:02:33 +0000 (13:02 -0700)]
Merge pull request #2238 from stgraber/master

configure.ac: Support redhatenterpriseserver

6 years agoconfigure.ac: Support redhatenterpriseserver
Stéphane Graber [Tue, 27 Mar 2018 19:21:51 +0000 (15:21 -0400)]
configure.ac: Support redhatenterpriseserver

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
6 years agoRelease LXC 3.0.0.beta4
Stéphane Graber [Tue, 27 Mar 2018 03:38:01 +0000 (23:38 -0400)]
Release LXC 3.0.0.beta4

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
6 years agoMerge pull request #2237 from brauner/2018-03-26/always_make_dumpable
Stéphane Graber [Mon, 26 Mar 2018 22:11:31 +0000 (18:11 -0400)]
Merge pull request #2237 from brauner/2018-03-26/always_make_dumpable

start: always make us dumpable

6 years agostart: always make us dumpable
Christian Brauner [Mon, 26 Mar 2018 21:03:28 +0000 (23:03 +0200)]
start: always make us dumpable

Otherwise lxc.hook.mount hooks that try to inspect /proc/<pid>/*
will fail.

Cc: Jonathan Calmels <jcalmels@nvidia.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoMerge pull request #2235 from brauner/2018-03-25/simplify_autodev
Stéphane Graber [Mon, 26 Mar 2018 02:30:58 +0000 (22:30 -0400)]
Merge pull request #2235 from brauner/2018-03-25/simplify_autodev

conf: simplify autodev

6 years agoconf: simplify lxc_fill_autodev()
Christian Brauner [Sun, 25 Mar 2018 12:33:44 +0000 (14:33 +0200)]
conf: simplify lxc_fill_autodev()

This function was way more syscall heavy than it needed to be.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoMerge pull request #2232 from flx42/dhclient-hook-apparmor
Stéphane Graber [Sat, 24 Mar 2018 04:36:32 +0000 (00:36 -0400)]
Merge pull request #2232 from flx42/dhclient-hook-apparmor

hooks: fix dhclient hook when an AppArmor profile is active

6 years agoRelease LXC 3.0.0.beta3
Stéphane Graber [Fri, 23 Mar 2018 20:22:00 +0000 (16:22 -0400)]
Release LXC 3.0.0.beta3

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
6 years agoMerge pull request #2233 from brauner/2018-03-23/truncate_config_file
Stéphane Graber [Fri, 23 Mar 2018 19:44:52 +0000 (15:44 -0400)]
Merge pull request #2233 from brauner/2018-03-23/truncate_config_file

lxccontainer: truncate config file

6 years agolxccontainer: truncate config file
Christian Brauner [Fri, 23 Mar 2018 19:30:38 +0000 (20:30 +0100)]
lxccontainer: truncate config file

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoMerge pull request #2231 from stgraber/master
Christian Brauner [Fri, 23 Mar 2018 17:54:22 +0000 (18:54 +0100)]
Merge pull request #2231 from stgraber/master

pam: Fix missing symbols in module

6 years agohooks: fix dhclient hook when an AppArmor profile is active
Felix Abecassis [Fri, 23 Mar 2018 17:47:35 +0000 (10:47 -0700)]
hooks: fix dhclient hook when an AppArmor profile is active

Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
6 years agopam: Fix missing symbols in module
Stéphane Graber [Fri, 23 Mar 2018 17:26:24 +0000 (13:26 -0400)]
pam: Fix missing symbols in module

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
6 years agoMerge pull request #2229 from fliiiix/lxc_net_improvements
Stéphane Graber [Thu, 22 Mar 2018 16:35:43 +0000 (12:35 -0400)]
Merge pull request #2229 from fliiiix/lxc_net_improvements

Rename ifup/down and remove usless parameter passing

6 years agoMerge pull request #2230 from tych0/drop-log-whitespace
Christian Brauner [Thu, 22 Mar 2018 16:22:55 +0000 (17:22 +0100)]
Merge pull request #2230 from tych0/drop-log-whitespace

remove leading whitespace from log files

6 years agoRename ifup/down and remove usless parameter passing
fliiiix [Thu, 22 Mar 2018 15:18:59 +0000 (16:18 +0100)]
Rename ifup/down and remove usless parameter passing

Signed-off-by: Felix <de-ch@hotmail.de>
6 years agoremove leading whitespace from log files
Tycho Andersen [Thu, 22 Mar 2018 15:49:08 +0000 (09:49 -0600)]
remove leading whitespace from log files

This has annoyed me for a long time, 3.0 seems like the time to fix it :).

I think the way that the log prefix was intended to be used was perhaps a
dynamic prefix per file, but we don't do that today; we include the
filename later in the log message. Instead, we use it as the tool name,
which for liblxc is always "lxc", but could also be things like
"lxc-cgroup" or whatever. There is absolutely no reason to pad this, since
it is always the same for every log file (in fact, we could probably get
rid of the prefix all together, but that seems slightly more drastic).

Instead, let's just drop this padding. Hopefully this will save thousands
of hours of slight annoyance and right scrolling in various pastebins.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
6 years agoMerge pull request #2225 from flx42/nvidia-hook-fixes
Christian Brauner [Mon, 19 Mar 2018 22:57:42 +0000 (23:57 +0100)]
Merge pull request #2225 from flx42/nvidia-hook-fixes

NVIDIA hook improvements

6 years agohooks: implement passthrough for latest features of libnvidia-container
Felix Abecassis [Mon, 19 Mar 2018 22:38:53 +0000 (15:38 -0700)]
hooks: implement passthrough for latest features of libnvidia-container

The "display" driver capability will expose /dev/nvidia-modeset:
https://github.com/NVIDIA/libnvidia-container/commit/9398d41d9f571578d6543703d287b014bcf1bb8c

The "--ldcache" argument allows overriding the location of the DSO cache:
https://github.com/NVIDIA/libnvidia-container/commit/41656bf9ed71448972f3254a10ceb3c53225a4e6

The "--root" argument allows nvidia-container-cli to execute in a different rootfs:
https://github.com/NVIDIA/libnvidia-container/commit/019fdc14e325eea55fbe0397a581bda9d0c4c5b1

Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
6 years agohooks: fix nvidia hook when running under the lxc-start AppArmor profile
Felix Abecassis [Mon, 19 Mar 2018 18:38:06 +0000 (11:38 -0700)]
hooks: fix nvidia hook when running under the lxc-start AppArmor profile

For a reason that I don't understand, the profile transition needs to
be done on the current process. Changing the attributes for a
subsequent execve(2) (with /proc/self/attr/exec) will cause the kernel
to set AT_SECURE in the auxiliary vector and thus secure_getenv(3)
inside libnvidia-container will return NULL.

Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
6 years agoRelease LXC 3.0.0.beta2
Stéphane Graber [Mon, 19 Mar 2018 20:05:53 +0000 (16:05 -0400)]
Release LXC 3.0.0.beta2

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
6 years agoMerge pull request #2223 from flx42/fix-lxc-execute-use-after-free
Christian Brauner [Fri, 16 Mar 2018 22:16:22 +0000 (23:16 +0100)]
Merge pull request #2223 from flx42/fix-lxc-execute-use-after-free

tools: fix container use-after-free

6 years agotools: fix container use-after-free
Felix Abecassis [Fri, 16 Mar 2018 20:31:25 +0000 (13:31 -0700)]
tools: fix container use-after-free

Fields daemonize and error_num were being called after the
lxc_container_put.

Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
6 years agoMerge pull request #2222 from tenforward/japanese
Christian Brauner [Fri, 16 Mar 2018 09:55:49 +0000 (10:55 +0100)]
Merge pull request #2222 from tenforward/japanese

doc: Remove aufs in Japanese man pages

6 years agodoc: Remove aufs in Japanese man pages
KATOH Yasufumi [Fri, 16 Mar 2018 09:40:14 +0000 (18:40 +0900)]
doc: Remove aufs in Japanese man pages

* and tweak English lxc-copy(1)

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
6 years agoMerge pull request #2210 from brauner/2018-03-10/conf_cleanups
Serge Hallyn [Thu, 15 Mar 2018 17:00:37 +0000 (12:00 -0500)]
Merge pull request #2210 from brauner/2018-03-10/conf_cleanups

tree-wide: remove aufs storage driver

6 years agoterminal: s/Theh/The/
Christian Brauner [Mon, 12 Mar 2018 18:56:09 +0000 (19:56 +0100)]
terminal: s/Theh/The/

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoconf: initialize pflags
Christian Brauner [Sun, 11 Mar 2018 10:33:30 +0000 (11:33 +0100)]
conf: initialize pflags

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoconf: coding style changes
Christian Brauner [Sat, 10 Mar 2018 23:23:41 +0000 (00:23 +0100)]
conf: coding style changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agotree-wide: remove aufs storage driver
Christian Brauner [Sun, 11 Mar 2018 09:22:42 +0000 (10:22 +0100)]
tree-wide: remove aufs storage driver

We've announced quite a while back and printed out errors and warning everytime
someone used the aufs driver.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoconf: order includes
Christian Brauner [Sat, 10 Mar 2018 22:40:59 +0000 (23:40 +0100)]
conf: order includes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoMerge pull request #2221 from tych0/fix-use-after-free
Christian Brauner [Thu, 15 Mar 2018 15:52:39 +0000 (16:52 +0100)]
Merge pull request #2221 from tych0/fix-use-after-free

fix handler use-after-free

6 years agofix handler use-after-free
Tycho Andersen [Thu, 15 Mar 2018 15:29:27 +0000 (15:29 +0000)]
fix handler use-after-free

The problem here is that __lxc_start frees the handler, so any use
afterwards is invalid. Since we don't have access to the actual struct
lxc_container object in __lxc_start, let's pass a pointer to error_num in
so it can be returned.

Unfortunately, I'm a little too paranoid to change the return type of
lxc_start, since it returns failure if some of the cleanup fails, which
may be useful in some cases. So let's keep this out of band.

Closes #2218
Closes #2219

Reported-by: Felix Abecassis <fabecassis@nvidia.com>
Signed-off-by: Tycho Andersen <tycho@tycho.ws>
6 years agoMerge pull request #2217 from flx42/fix-mount-hooks-double-call
Christian Brauner [Wed, 14 Mar 2018 23:37:17 +0000 (00:37 +0100)]
Merge pull request #2217 from flx42/fix-mount-hooks-double-call

conf: do not run the "mount" hooks twice

6 years agoconf: do not run the "mount" hooks twice
Felix Abecassis [Wed, 14 Mar 2018 23:20:18 +0000 (16:20 -0700)]
conf: do not run the "mount" hooks twice

Regression introduced by 8353b4c90ed18e570521134f2c60bef56a082b55

Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
6 years agoMerge pull request #2216 from igalic/fix/clang-warning
Christian Brauner [Wed, 14 Mar 2018 16:27:55 +0000 (17:27 +0100)]
Merge pull request #2216 from igalic/fix/clang-warning

conf: fix clang warning when building w/o libcap

6 years agoconf: fix clang warning when building w/o libcap
Igor Galić [Wed, 14 Mar 2018 15:53:24 +0000 (16:53 +0100)]
conf: fix clang warning when building w/o libcap

when compiling lxc with clang-5.0 parse_cap()'s main loop will produce a
warning about a tautological comparision (#2215).

By moving the result of computation into a variable (end) this is no
longer a constant expression. clang-5.0 does not do dataflow analysis at
this point, so it is, to quote someone from #llvm, "morally equivalent"
to casting `(int)i`.

in addition, we also clean up the #if HAVE_LIBCAP to no longer need
its #else branch!

Signed-off-by: Igor Galić <igor.galic@automatic-server.com>
6 years agoMerge pull request #2214 from flx42/fix-lxc-execute
Christian Brauner [Wed, 14 Mar 2018 05:31:54 +0000 (06:31 +0100)]
Merge pull request #2214 from flx42/fix-lxc-execute

tools: fix usage of boolean function set_config_item

6 years agotools: fix usage of boolean function set_config_item
Felix Abecassis [Wed, 14 Mar 2018 04:50:46 +0000 (21:50 -0700)]
tools: fix usage of boolean function set_config_item

Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
6 years agoMerge pull request #2213 from hallyn/2018-03-13/revert-cg
Christian Brauner [Tue, 13 Mar 2018 19:11:03 +0000 (20:11 +0100)]
Merge pull request #2213 from hallyn/2018-03-13/revert-cg

Revert "cgroups: don't escape if we're not real root"

6 years agoRevert "cgroups: don't escape if we're not real root"
Serge Hallyn [Tue, 13 Mar 2018 17:55:02 +0000 (12:55 -0500)]
Revert "cgroups: don't escape if we're not real root"

This reverts commit 8d961e28f1d759669b477a659cbb694aaa2af915.

Unfortunately I don't believe the check is correct in the general case.

Signed-off-by: Serge Hallyn <shallyn@cisco.com>
6 years agoMerge pull request #2212 from tych0/cgroup-escape-host-unpriv
Christian Brauner [Tue, 13 Mar 2018 16:14:15 +0000 (17:14 +0100)]
Merge pull request #2212 from tych0/cgroup-escape-host-unpriv

cgroups: don't escape if we're not real root

6 years agocgroups: don't escape if we're not real root
Tycho Andersen [Tue, 13 Mar 2018 15:57:10 +0000 (15:57 +0000)]
cgroups: don't escape if we're not real root

If we're host unpriv but root in our userns, we can't really escape
cgroups. Let's switch the cgroup escape test to reflect this.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
6 years agoMerge pull request #2211 from tych0/usernsexec-init-log
Serge Hallyn [Mon, 12 Mar 2018 16:31:46 +0000 (11:31 -0500)]
Merge pull request #2211 from tych0/usernsexec-init-log

usernsexec: init log fd

6 years agousernsexec: init log fd
Tycho Andersen [Mon, 12 Mar 2018 15:39:37 +0000 (09:39 -0600)]
usernsexec: init log fd

lxc-usernsexec uses some functions (e.g. lxc_map_ids()), which are part of
the lxc library and thus use the WARN etc. macros to emit log messages.
However, it doesn't initialize the log in any way, so these messages go
into the ether.

lxc-usernsexec currently has no log parameters, so let's just log these to
stderr. Someone can do something fancier later if they want.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
6 years agoMerge pull request #2209 from tenforward/fix_personality
Christian Brauner [Fri, 9 Mar 2018 09:42:24 +0000 (10:42 +0100)]
Merge pull request #2209 from tenforward/fix_personality

tools: Include config.h in tool_utils.c

6 years agotools: Include config.h in tool_utils.c
KATOH Yasufumi [Fri, 9 Mar 2018 08:53:09 +0000 (17:53 +0900)]
tools: Include config.h in tool_utils.c

Since we do not include config.h, personality is not set. This is fix
it. See issue #2208.

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
6 years agoMerge pull request #2203 from flx42/fix-libcap-amzn1
Christian Brauner [Sat, 3 Mar 2018 06:33:18 +0000 (07:33 +0100)]
Merge pull request #2203 from flx42/fix-libcap-amzn1

Add a workaround for a build issue with old versions of libcap

6 years agoAdd a workaround for a build issue with old versions of libcap
Felix Abecassis [Sat, 3 Mar 2018 06:01:56 +0000 (22:01 -0800)]
Add a workaround for a build issue with old versions of libcap

Fixes: #2178
Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
6 years agoMerge pull request #2202 from brauner/2018-03-02/coding_style_update
Christian Brauner [Fri, 2 Mar 2018 12:01:13 +0000 (13:01 +0100)]
Merge pull request #2202 from brauner/2018-03-02/coding_style_update

CODING_STYLE: update

6 years agoCODING_STYLE: add languages to highlight
Christian Brauner [Fri, 2 Mar 2018 11:57:18 +0000 (12:57 +0100)]
CODING_STYLE: add languages to highlight

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoCODING_STYLE: arrays of structs
Christian Brauner [Fri, 2 Mar 2018 11:50:55 +0000 (12:50 +0100)]
CODING_STYLE: arrays of structs

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoCODING_STYLE: clang-format
Christian Brauner [Fri, 2 Mar 2018 11:29:30 +0000 (12:29 +0100)]
CODING_STYLE: clang-format

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoCODING_STYLE: remove duplicate _exit() entry
Christian Brauner [Fri, 2 Mar 2018 11:18:38 +0000 (12:18 +0100)]
CODING_STYLE: remove duplicate _exit() entry

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoMerge pull request #2201 from tenforward/japanese
Christian Brauner [Fri, 2 Mar 2018 09:37:03 +0000 (10:37 +0100)]
Merge pull request #2201 from tenforward/japanese

doc: Add lxc.console.size and remove lxc.console.buffer.logfile in Japanese man page

6 years agodoc: Add lxc.console.size and remove lxc.console.buffer.logfile in Japanese man pages
KATOH Yasufumi [Fri, 2 Mar 2018 06:09:34 +0000 (15:09 +0900)]
doc: Add lxc.console.size and remove lxc.console.buffer.logfile in Japanese man pages

Update for commit 861813e and 23e0d9a for lxc.container.conf(5)

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
6 years agoRelease LXC 3.0.0.beta1
Stéphane Graber [Thu, 1 Mar 2018 18:55:43 +0000 (13:55 -0500)]
Release LXC 3.0.0.beta1

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
6 years agoMerge pull request #2199 from brauner/2018-03-01/bugfixes
Stéphane Graber [Thu, 1 Mar 2018 17:09:32 +0000 (12:09 -0500)]
Merge pull request #2199 from brauner/2018-03-01/bugfixes

start: handle kernels without setns support

6 years agoconfig: start with a full capability set
Christian Brauner [Thu, 1 Mar 2018 16:09:44 +0000 (17:09 +0100)]
config: start with a full capability set

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agostart: handle kernels without setns support
Christian Brauner [Thu, 1 Mar 2018 11:12:50 +0000 (12:12 +0100)]
start: handle kernels without setns support

Closes #1390.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoattach: rename to LXC_ATTACH_TERMINAL
Christian Brauner [Thu, 1 Mar 2018 10:52:49 +0000 (11:52 +0100)]
attach: rename to LXC_ATTACH_TERMINAL

Rename from LXC_ATTACH_ALLOCATE_PTY to LXC_ATTACH_TERMINAL. The latter is
shorter and more generic. I don't want this whole terminology of ptys, ttys,
and consoles to leak through the API.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoMerge pull request #2197 from stgraber/master
Christian Brauner [Thu, 1 Mar 2018 07:23:02 +0000 (08:23 +0100)]
Merge pull request #2197 from stgraber/master

Fix typo

6 years agoFix typo
Stéphane Graber [Thu, 1 Mar 2018 06:31:50 +0000 (01:31 -0500)]
Fix typo

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
6 years agoMerge pull request #2164 from brauner/2018-02-14/add_flag_to_compile_tools
Stéphane Graber [Wed, 28 Feb 2018 19:13:52 +0000 (14:13 -0500)]
Merge pull request #2164 from brauner/2018-02-14/add_flag_to_compile_tools

tree-wide: rm {lua,python3} bindings, rm deprecated binaries, rm deprecated templates, add --{disable,enable}-{commands,tools} flag

6 years agoMerge pull request #2196 from brauner/2018-02-28/more_terminal_fixes
Serge Hallyn [Wed, 28 Feb 2018 16:18:39 +0000 (10:18 -0600)]
Merge pull request #2196 from brauner/2018-02-28/more_terminal_fixes

terminal: improvements and cleanup

6 years agoterminal: non-functional changes
Christian Brauner [Wed, 28 Feb 2018 12:02:05 +0000 (13:02 +0100)]
terminal: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: non-functional changes
Christian Brauner [Wed, 28 Feb 2018 11:51:05 +0000 (12:51 +0100)]
terminal: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_terminal_map_ids()
Christian Brauner [Wed, 28 Feb 2018 11:49:45 +0000 (12:49 +0100)]
terminal: lxc_terminal_map_ids()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_terminal_prepare_login()
Christian Brauner [Wed, 28 Feb 2018 11:48:28 +0000 (12:48 +0100)]
terminal: lxc_terminal_prepare_login()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_make_controlling_terminal()
Christian Brauner [Wed, 28 Feb 2018 11:46:36 +0000 (12:46 +0100)]
terminal: lxc_make_controlling_terminal()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_console()
Christian Brauner [Wed, 28 Feb 2018 11:45:07 +0000 (12:45 +0100)]
terminal: lxc_console()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_terminal_master_cb()
Christian Brauner [Wed, 28 Feb 2018 11:43:47 +0000 (12:43 +0100)]
terminal: lxc_terminal_master_cb()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_terminal_stdin_cb()
Christian Brauner [Wed, 28 Feb 2018 11:42:31 +0000 (12:42 +0100)]
terminal: lxc_terminal_stdin_cb()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_terminal_set_stdfds()
Christian Brauner [Wed, 28 Feb 2018 11:40:43 +0000 (12:40 +0100)]
terminal: lxc_terminal_set_stdfds()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_terminal_setup()
Christian Brauner [Wed, 28 Feb 2018 11:23:06 +0000 (12:23 +0100)]
terminal: lxc_terminal_setup()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_terminal_create()
Christian Brauner [Wed, 28 Feb 2018 11:22:23 +0000 (12:22 +0100)]
terminal: lxc_terminal_create()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_terminal_peer_default()
Christian Brauner [Wed, 28 Feb 2018 11:20:02 +0000 (12:20 +0100)]
terminal: lxc_terminal_peer_default()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_terminal_free()
Christian Brauner [Wed, 28 Feb 2018 11:14:04 +0000 (12:14 +0100)]
terminal: lxc_terminal_free()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_terminal_allocate()
Christian Brauner [Wed, 28 Feb 2018 11:12:59 +0000 (12:12 +0100)]
terminal: lxc_terminal_allocate()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_terminal_peer_proxy_alloc()
Christian Brauner [Wed, 28 Feb 2018 11:11:16 +0000 (12:11 +0100)]
terminal: lxc_terminal_peer_proxy_alloc()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_terminal_peer_proxy_free()
Christian Brauner [Wed, 28 Feb 2018 11:04:58 +0000 (12:04 +0100)]
terminal: lxc_terminal_peer_proxy_free()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_setup_tios()
Christian Brauner [Wed, 28 Feb 2018 11:02:51 +0000 (12:02 +0100)]
terminal: lxc_setup_tios()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_terminal_mainloop_add()
Christian Brauner [Wed, 28 Feb 2018 11:00:14 +0000 (12:00 +0100)]
terminal: lxc_terminal_mainloop_add()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_terminal_io_cb()
Christian Brauner [Wed, 28 Feb 2018 10:58:50 +0000 (11:58 +0100)]
terminal: lxc_terminal_io_cb()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_terminal_write_log_file()
Christian Brauner [Wed, 28 Feb 2018 10:56:55 +0000 (11:56 +0100)]
terminal: lxc_terminal_write_log_file()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: error out when SIGTERM cannot be added
Christian Brauner [Wed, 28 Feb 2018 10:51:21 +0000 (11:51 +0100)]
terminal: error out when SIGTERM cannot be added

This should be an error condition.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: non-functional changes
Christian Brauner [Wed, 28 Feb 2018 10:51:04 +0000 (11:51 +0100)]
terminal: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agoterminal: lxc_terminal_signalfd_cb()
Christian Brauner [Wed, 28 Feb 2018 10:50:38 +0000 (11:50 +0100)]
terminal: lxc_terminal_signalfd_cb()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agomainloop: add LXC_MAINLOOP_ERROR
Christian Brauner [Wed, 28 Feb 2018 10:50:12 +0000 (11:50 +0100)]
mainloop: add LXC_MAINLOOP_ERROR

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agolxc-local: add --mapped-{g,u}id flags
Christian Brauner [Tue, 27 Feb 2018 13:12:50 +0000 (14:12 +0100)]
lxc-local: add --mapped-{g,u}id flags

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agolxc-oci: make shellcheck clean
Christian Brauner [Tue, 27 Feb 2018 11:21:02 +0000 (12:21 +0100)]
lxc-oci: make shellcheck clean

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agolxc-local: coding style
Christian Brauner [Tue, 27 Feb 2018 10:55:22 +0000 (11:55 +0100)]
lxc-local: coding style

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agolxc-busybox: make shellcheck clean
Christian Brauner [Tue, 27 Feb 2018 10:46:33 +0000 (11:46 +0100)]
lxc-busybox: make shellcheck clean

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agolxc-download: make POSIX shellcheck clean
Christian Brauner [Tue, 27 Feb 2018 09:47:34 +0000 (10:47 +0100)]
lxc-download: make POSIX shellcheck clean

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agotemplates: bump compat level to 5
Christian Brauner [Tue, 27 Feb 2018 00:28:45 +0000 (01:28 +0100)]
templates: bump compat level to 5

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
6 years agotree-wide: rm templates in favor of distrobuilder
Christian Brauner [Mon, 26 Feb 2018 20:12:17 +0000 (21:12 +0100)]
tree-wide: rm templates in favor of distrobuilder

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>