]> git.proxmox.com Git - mirror_lxc.git/log
mirror_lxc.git
5 years agospelling: loglevel
Josh Soref [Tue, 30 Oct 2018 07:18:45 +0000 (07:18 +0000)]
spelling: loglevel

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: libraries
Josh Soref [Tue, 30 Oct 2018 07:18:08 +0000 (07:18 +0000)]
spelling: libraries

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: keepdata
Josh Soref [Tue, 30 Oct 2018 07:17:22 +0000 (07:17 +0000)]
spelling: keepdata

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: javascript
Josh Soref [Tue, 30 Oct 2018 07:16:39 +0000 (07:16 +0000)]
spelling: javascript

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: initialize
Josh Soref [Tue, 30 Oct 2018 07:13:17 +0000 (07:13 +0000)]
spelling: initialize

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: inherited
Josh Soref [Tue, 30 Oct 2018 07:12:26 +0000 (07:12 +0000)]
spelling: inherited

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: indefinitely
Josh Soref [Tue, 30 Oct 2018 07:12:08 +0000 (07:12 +0000)]
spelling: indefinitely

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: implementations
Josh Soref [Tue, 30 Oct 2018 07:11:52 +0000 (07:11 +0000)]
spelling: implementations

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: ifindices
Josh Soref [Tue, 30 Oct 2018 07:11:19 +0000 (07:11 +0000)]
spelling: ifindices

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: hoops
Josh Soref [Tue, 30 Oct 2018 07:09:02 +0000 (07:09 +0000)]
spelling: hoops

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: hierarchy
Josh Soref [Tue, 30 Oct 2018 07:08:31 +0000 (07:08 +0000)]
spelling: hierarchy

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: github
Josh Soref [Tue, 30 Oct 2018 17:13:36 +0000 (13:13 -0400)]
spelling: github

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: feature
Josh Soref [Tue, 30 Oct 2018 07:01:50 +0000 (07:01 +0000)]
spelling: feature

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: explicitly
Josh Soref [Tue, 30 Oct 2018 07:01:26 +0000 (07:01 +0000)]
spelling: explicitly

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: exiting
Josh Soref [Tue, 30 Oct 2018 07:01:12 +0000 (07:01 +0000)]
spelling: exiting

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: device
Josh Soref [Tue, 30 Oct 2018 07:00:01 +0000 (07:00 +0000)]
spelling: device

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: describing
Josh Soref [Tue, 30 Oct 2018 06:59:37 +0000 (06:59 +0000)]
spelling: describing

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: could
Josh Soref [Tue, 30 Oct 2018 06:54:56 +0000 (06:54 +0000)]
spelling: could

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: convenience
Josh Soref [Tue, 30 Oct 2018 06:55:05 +0000 (06:55 +0000)]
spelling: convenience

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: control
Josh Soref [Tue, 30 Oct 2018 06:54:21 +0000 (06:54 +0000)]
spelling: control

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: container
Josh Soref [Tue, 30 Oct 2018 06:53:11 +0000 (06:53 +0000)]
spelling: container

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: constant
Josh Soref [Tue, 30 Oct 2018 06:54:44 +0000 (06:54 +0000)]
spelling: constant

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: configuration
Josh Soref [Tue, 30 Oct 2018 06:52:44 +0000 (06:52 +0000)]
spelling: configuration

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: committer
Josh Soref [Tue, 30 Oct 2018 06:52:23 +0000 (06:52 +0000)]
spelling: committer

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: command
Josh Soref [Tue, 30 Oct 2018 06:52:09 +0000 (06:52 +0000)]
spelling: command

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: comma
Josh Soref [Tue, 30 Oct 2018 06:51:58 +0000 (06:51 +0000)]
spelling: comma

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: checkpoint
Josh Soref [Tue, 30 Oct 2018 06:50:25 +0000 (06:50 +0000)]
spelling: checkpoint

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: character
Josh Soref [Tue, 30 Oct 2018 06:50:12 +0000 (06:50 +0000)]
spelling: character

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: capabilities
Josh Soref [Tue, 30 Oct 2018 06:49:52 +0000 (06:49 +0000)]
spelling: capabilities

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: backingstorage
Josh Soref [Tue, 30 Oct 2018 06:49:12 +0000 (06:49 +0000)]
spelling: backingstorage

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: asynchronous
Josh Soref [Tue, 30 Oct 2018 06:48:09 +0000 (06:48 +0000)]
spelling: asynchronous

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: array
Josh Soref [Tue, 30 Oct 2018 06:47:57 +0000 (06:47 +0000)]
spelling: array

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: architecture
Josh Soref [Tue, 30 Oct 2018 06:47:09 +0000 (06:47 +0000)]
spelling: architecture

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: answer
Josh Soref [Tue, 30 Oct 2018 06:46:40 +0000 (06:46 +0000)]
spelling: answer

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: ambiguous
Josh Soref [Tue, 30 Oct 2018 06:45:53 +0000 (06:45 +0000)]
spelling: ambiguous

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agospelling: allocate
Josh Soref [Tue, 30 Oct 2018 06:45:18 +0000 (06:45 +0000)]
spelling: allocate

Signed-off-by: Josh Soref <jsoref@gmail.com>
5 years agoMerge pull request #2707 from brauner/2018-10-20/code_quality
Serge Hallyn [Mon, 22 Oct 2018 16:07:21 +0000 (11:07 -0500)]
Merge pull request #2707 from brauner/2018-10-20/code_quality

tree-wide: bugfixes

5 years agocoverity: #1426130
Christian Brauner [Sat, 20 Oct 2018 10:04:33 +0000 (12:04 +0200)]
coverity: #1426130

Bad bit shift operation

Fixes: commit b5b12b9e759 ("criu: add feature check capability")
Cc: Adrian Reber <areber@redhat.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agocoverity: #1440389
Christian Brauner [Sat, 20 Oct 2018 09:59:48 +0000 (11:59 +0200)]
coverity: #1440389

Logically dead code

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agocoverity: #1440391
Christian Brauner [Sat, 20 Oct 2018 09:57:02 +0000 (11:57 +0200)]
coverity: #1440391

Dereference null return value

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agocmd/lxc_init: do not hide global variable
Christian Brauner [Sat, 20 Oct 2018 09:49:47 +0000 (11:49 +0200)]
cmd/lxc_init: do not hide global variable

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agotools/lxc_stop: use correct check
Christian Brauner [Sat, 20 Oct 2018 09:48:06 +0000 (11:48 +0200)]
tools/lxc_stop: use correct check

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agostart: prevent values smaller 0
Christian Brauner [Sat, 20 Oct 2018 09:39:28 +0000 (11:39 +0200)]
start: prevent values smaller 0

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agolxccontainer: remove check from goto target
Christian Brauner [Sat, 20 Oct 2018 09:37:39 +0000 (11:37 +0200)]
lxccontainer: remove check from goto target

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agoconf: remove tautological check
Christian Brauner [Sat, 20 Oct 2018 09:36:26 +0000 (11:36 +0200)]
conf: remove tautological check

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agoconf: use O_CLOEXEC in lxc_pivot_root()
Christian Brauner [Sat, 20 Oct 2018 09:35:41 +0000 (11:35 +0200)]
conf: use O_CLOEXEC in lxc_pivot_root()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agoconf: remove tautological check
Christian Brauner [Sat, 20 Oct 2018 09:34:35 +0000 (11:34 +0200)]
conf: remove tautological check

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agostate: remove tautological check
Christian Brauner [Sat, 20 Oct 2018 09:32:04 +0000 (11:32 +0200)]
state: remove tautological check

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agotools/lxc_info: do not hide global variable
Christian Brauner [Sat, 20 Oct 2018 09:30:12 +0000 (11:30 +0200)]
tools/lxc_info: do not hide global variable

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agotools/lxc_top: do not hide global variable
Christian Brauner [Sat, 20 Oct 2018 09:28:11 +0000 (11:28 +0200)]
tools/lxc_top: do not hide global variable

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agotools/lxc_copy: do not hide global variable
Christian Brauner [Sat, 20 Oct 2018 09:23:55 +0000 (11:23 +0200)]
tools/lxc_copy: do not hide global variable

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agomonitord: do not hide global variable
Christian Brauner [Sat, 20 Oct 2018 09:22:02 +0000 (11:22 +0200)]
monitord: do not hide global variable

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agocgfsng: move increment out of branch
Christian Brauner [Sat, 20 Oct 2018 09:13:59 +0000 (11:13 +0200)]
cgfsng: move increment out of branch

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agocommands: simplify
Christian Brauner [Sat, 20 Oct 2018 09:09:54 +0000 (11:09 +0200)]
commands: simplify

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agoconfile: do not overwrite global variable
Christian Brauner [Sat, 20 Oct 2018 09:03:41 +0000 (11:03 +0200)]
confile: do not overwrite global variable

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agoMerge pull request #2705 from brauner/2018-10-20/bugfixes
Stéphane Graber [Sun, 21 Oct 2018 18:40:44 +0000 (14:40 -0400)]
Merge pull request #2705 from brauner/2018-10-20/bugfixes

start: simplify

5 years agoMerge pull request #2706 from brauner/2018-10-20/compiler_hardening
Stéphane Graber [Sun, 21 Oct 2018 18:40:18 +0000 (14:40 -0400)]
Merge pull request #2706 from brauner/2018-10-20/compiler_hardening

autotools: compiler based hardening

5 years agocoverity: update .travis.yml
Christian Brauner [Fri, 19 Oct 2018 23:57:40 +0000 (01:57 +0200)]
coverity: update .travis.yml

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agocoverity: update .travis.yml
Christian Brauner [Fri, 19 Oct 2018 23:54:55 +0000 (01:54 +0200)]
coverity: update .travis.yml

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agocoverity: update .travis.yml
Christian Brauner [Fri, 19 Oct 2018 23:48:39 +0000 (01:48 +0200)]
coverity: update .travis.yml

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agocoverity: update .travis.yml
Christian Brauner [Fri, 19 Oct 2018 23:42:56 +0000 (01:42 +0200)]
coverity: update .travis.yml

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agocoverity: update .travis.yml
Christian Brauner [Fri, 19 Oct 2018 23:34:15 +0000 (01:34 +0200)]
coverity: update .travis.yml

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agoautotools: compiler based hardening
Christian Brauner [Fri, 19 Oct 2018 22:22:18 +0000 (00:22 +0200)]
autotools: compiler based hardening

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agostart: simplify
Christian Brauner [Fri, 19 Oct 2018 22:06:32 +0000 (00:06 +0200)]
start: simplify

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agoMerge pull request #2703 from 2xsec/asan1
Christian Brauner [Fri, 19 Oct 2018 09:47:06 +0000 (11:47 +0200)]
Merge pull request #2703 from 2xsec/asan1

cleanups

5 years agotree-wide: coding style fixes
2xsec [Fri, 19 Oct 2018 05:34:13 +0000 (14:34 +0900)]
tree-wide: coding style fixes

Signed-off-by: 2xsec <dh48.jeong@samsung.com>
[christian.brauner@ubuntu.com: cleanup if-branches in confile.c]
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agoMerge pull request #2702 from 2xsec/asan1
Christian Brauner [Fri, 19 Oct 2018 05:02:41 +0000 (07:02 +0200)]
Merge pull request #2702 from 2xsec/asan1

parse: fix uninitialized value

5 years agoparse: fix uninitialized value
2xsec [Fri, 19 Oct 2018 02:51:51 +0000 (11:51 +0900)]
parse: fix uninitialized value

Signed-off-by: 2xsec <dh48.jeong@samsung.com>
5 years agoMerge pull request #2696 from brauner/2018-10-17/fix_append_config_line
Wolfgang Bumiller [Thu, 18 Oct 2018 19:55:44 +0000 (21:55 +0200)]
Merge pull request #2696 from brauner/2018-10-17/fix_append_config_line

confile: fix append_unexp_config_line()

5 years agoMerge pull request #2698 from brauner/2018-10-17/config_parsing
Wolfgang Bumiller [Thu, 18 Oct 2018 17:38:38 +0000 (19:38 +0200)]
Merge pull request #2698 from brauner/2018-10-17/config_parsing

parse: protect against config updates during parse

5 years agoparse: protect against config updates during parse
Christian Brauner [Wed, 17 Oct 2018 16:36:28 +0000 (18:36 +0200)]
parse: protect against config updates during parse

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agoconfile: fix append_unexp_config_line()
Christian Brauner [Wed, 17 Oct 2018 13:16:27 +0000 (15:16 +0200)]
confile: fix append_unexp_config_line()

Reported-by: 2xsec dh48.jeong@samsung.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agoMerge pull request #2697 from brauner/2018-10-17/fix_disable_commands_build
Wolfgang Bumiller [Thu, 18 Oct 2018 13:43:30 +0000 (15:43 +0200)]
Merge pull request #2697 from brauner/2018-10-17/fix_disable_commands_build

autotools: fix --disable-commands builds

5 years agoMerge pull request #2701 from brauner/2018-10-18/fix_raw_syscalls
Wolfgang Bumiller [Thu, 18 Oct 2018 13:08:42 +0000 (15:08 +0200)]
Merge pull request #2701 from brauner/2018-10-18/fix_raw_syscalls

raw_syscalls: ensure function always returns value

5 years agoMerge pull request #2700 from brauner/2018-10-18/simplify_strlcpy
Wolfgang Bumiller [Thu, 18 Oct 2018 13:08:06 +0000 (15:08 +0200)]
Merge pull request #2700 from brauner/2018-10-18/simplify_strlcpy

include: simplify strlcpy()

5 years agoraw_syscalls: ensure function always returns value
Christian Brauner [Thu, 18 Oct 2018 12:38:09 +0000 (14:38 +0200)]
raw_syscalls: ensure function always returns value

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agoMerge pull request #2699 from 2xsec/asan1
Christian Brauner [Thu, 18 Oct 2018 10:53:23 +0000 (12:53 +0200)]
Merge pull request #2699 from 2xsec/asan1

string_utils: fix global buffer overflow issue

5 years agoinclude: simplify strlcpy()
Christian Brauner [Thu, 18 Oct 2018 10:50:13 +0000 (12:50 +0200)]
include: simplify strlcpy()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agostring_utils: fix global buffer overflow issue
2xsec [Thu, 18 Oct 2018 06:16:54 +0000 (15:16 +0900)]
string_utils: fix global buffer overflow issue

Signed-off-by: 2xsec <dh48.jeong@samsung.com>
5 years agoautotools: fix --disable-commands builds
Christian Brauner [Wed, 17 Oct 2018 13:23:41 +0000 (15:23 +0200)]
autotools: fix --disable-commands builds

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agoMerge pull request #2694 from brauner/2018-10-14/lxc_init_logging
Stéphane Graber [Mon, 15 Oct 2018 14:44:04 +0000 (10:44 -0400)]
Merge pull request #2694 from brauner/2018-10-14/lxc_init_logging

lxc-init: log to /dev/console

5 years agolxc-init: log to /dev/console
Christian Brauner [Sun, 14 Oct 2018 20:22:21 +0000 (22:22 +0200)]
lxc-init: log to /dev/console

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agoMerge pull request #2693 from stgraber/master
Christian Brauner [Sat, 13 Oct 2018 05:47:34 +0000 (07:47 +0200)]
Merge pull request #2693 from stgraber/master

checkconfig: Handle missing kernel version

5 years agocheckconfig: Handle missing kernel version
Stéphane Graber [Sat, 13 Oct 2018 02:32:08 +0000 (22:32 -0400)]
checkconfig: Handle missing kernel version

https://github.com/lxc/lxd/issues/5151

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
5 years agoMerge pull request #2692 from brauner/2018-10-12/no_strict_aliasing
Stéphane Graber [Fri, 12 Oct 2018 23:26:43 +0000 (19:26 -0400)]
Merge pull request #2692 from brauner/2018-10-12/no_strict_aliasing

autools: use -fno-strict-aliasing

5 years agoautools: use -fno-strict-aliasing
Christian Brauner [Fri, 12 Oct 2018 19:23:07 +0000 (21:23 +0200)]
autools: use -fno-strict-aliasing

The gcc implementation and the C standard are not to be considered sane
in this respect. We don't want to risk reordering of writes when the
compiler incorrectly *thinks* two types do not alias each other.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agoMerge pull request #2691 from 2xsec/bugfix
Christian Brauner [Fri, 12 Oct 2018 08:39:57 +0000 (10:39 +0200)]
Merge pull request #2691 from 2xsec/bugfix

Some redundancy codes of abstract unix socket are removed with log cleanups.

5 years agomonitor: fix coding standard
2xsec [Fri, 12 Oct 2018 07:05:31 +0000 (16:05 +0900)]
monitor: fix coding standard

Signed-off-by: 2xsec <dh48.jeong@samsung.com>
5 years agocommands_utils: improve code redundancy to make abstract unix socket name
2xsec [Fri, 12 Oct 2018 06:05:43 +0000 (15:05 +0900)]
commands_utils: improve code redundancy to make abstract unix socket name

Signed-off-by: 2xsec <dh48.jeong@samsung.com>
5 years agomonitor: checking name too long to make monitor sock name
2xsec [Fri, 12 Oct 2018 02:19:04 +0000 (11:19 +0900)]
monitor: checking name too long to make monitor sock name

Signed-off-by: 2xsec <dh48.jeong@samsung.com>
5 years agomonitor: log cleanups
2xsec [Fri, 12 Oct 2018 01:36:42 +0000 (10:36 +0900)]
monitor: log cleanups

Signed-off-by: 2xsec <dh48.jeong@samsung.com>
5 years agoMerge pull request #2690 from adrianreber/master
Christian Brauner [Thu, 11 Oct 2018 13:58:20 +0000 (15:58 +0200)]
Merge pull request #2690 from adrianreber/master

checkpoint: fix running do_dump()

5 years agocheckpoint: fix running do_dump()
Adrian Reber [Thu, 11 Oct 2018 13:10:12 +0000 (13:10 +0000)]
checkpoint: fix running do_dump()

Testing 'lxc <container> stop --stateful' crashed LXD:

fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xe8 pc=0x7f3198ff0592]

runtime stack:
runtime.throw(0x117fe4a, 0x2a)
/opt/rh/go-toolset-1.10/root/usr/lib/go-toolset-1.10-golang/src/runtime/panic.go:616 +0x81
runtime.sigpanic()
/opt/rh/go-toolset-1.10/root/usr/lib/go-toolset-1.10-golang/src/runtime/signal_unix.go:372 +0x28e

goroutine 375 [syscall]:
runtime.cgocall(0xef38e3, 0xc420731630, 0x29)
/opt/rh/go-toolset-1.10/root/usr/lib/go-toolset-1.10-golang/src/runtime/cgocall.go:128 +0x64 fp=0xc4207315f0 sp=0xc4207315b8 pc=0x410fc4
gopkg.in/lxc/go-lxc%2ev2._Cfunc_go_lxc_migrate(0x7f316c001220, 0xc400000001, 0xc420302460, 0xc4205d6080, 0x0)
_cgo_gotypes.go:752 +0x4d fp=0xc420731630 sp=0xc4207315f0 pc=0x909d7d
gopkg.in/lxc/go-lxc%2ev2.(*Container).Migrate.func4(0x7f316c001220, 0xc400000001, 0xc420302460, 0xc4205d6080, 0x0)
/share/go/src/gopkg.in/lxc/go-lxc.v2/container.go:1798 +0x160 fp=0xc420731668 sp=0xc420731630 pc=0x91b970
gopkg.in/lxc/go-lxc%2ev2.(*Container).Migrate(0xc4207a52f0, 0x1, 0xc42051ec00, 0x20, 0x0, 0x0, 0x0, 0x0, 0x101, 0x10000000, ...)
/share/go/src/gopkg.in/lxc/go-lxc.v2/container.go:1798 +0x29f fp=0xc420731760 sp=0xc420731668 pc=0x9160ef

The commit 5a087e056f94 introduced a second parameter (conf) to the
cgroup escape() function which was never set in do_dump(). Instead of
taking it from opts->handler->conf it is now used from c->lxc_conf.

Fixes: 5a087e056f94 ("cgroups: don't escape if lxc.cgroup.keep is true")
Suggested-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Adrian Reber <areber@redhat.com>
5 years agoMerge pull request #2687 from brauner/2018-10-10/fix_verify_start_hooks
Stéphane Graber [Wed, 10 Oct 2018 15:04:42 +0000 (11:04 -0400)]
Merge pull request #2687 from brauner/2018-10-10/fix_verify_start_hooks

conf: verify_start_hooks() after lxc.mount.entry

5 years agoconf: verify_start_hooks() after lxc.mount.entry
Christian Brauner [Wed, 10 Oct 2018 11:06:21 +0000 (13:06 +0200)]
conf: verify_start_hooks() after lxc.mount.entry

Fixes: https://discuss.linuxcontainers.org/t/are-lxc-mount-entry-available-when-lxc-hook-start-is-validated/2906/3
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agoMerge pull request #2688 from brauner/2018-10-10/cgfsng_fix_monitor_cpuset_deletion
Stéphane Graber [Wed, 10 Oct 2018 14:34:58 +0000 (10:34 -0400)]
Merge pull request #2688 from brauner/2018-10-10/cgfsng_fix_monitor_cpuset_deletion

cgfsng: ensure initialized cpuset controller

5 years agoMerge pull request #2689 from brauner/2018-10-10/log_prlimit
Stéphane Graber [Wed, 10 Oct 2018 14:34:35 +0000 (10:34 -0400)]
Merge pull request #2689 from brauner/2018-10-10/log_prlimit

conf: log prlimit setup

5 years agoconf: log prlimit setup
Christian Brauner [Wed, 10 Oct 2018 11:53:00 +0000 (13:53 +0200)]
conf: log prlimit setup

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
5 years agoMerge pull request #2686 from 2xsec/rpm
Christian Brauner [Wed, 10 Oct 2018 11:43:10 +0000 (13:43 +0200)]
Merge pull request #2686 from 2xsec/rpm

fix rpm packaging error for static library

5 years agocgfsng: ensure initialized cpuset controller
Christian Brauner [Wed, 10 Oct 2018 11:27:45 +0000 (13:27 +0200)]
cgfsng: ensure initialized cpuset controller

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