]>
git.proxmox.com Git - mirror_lxc.git/log
Christian Brauner [Tue, 3 Dec 2019 19:39:25 +0000 (20:39 +0100)]
Merge pull request #2842 from brauner/2019-02-11/fix_licensing
tree-wide: Fix inconsistent license headers
Christian Brauner [Tue, 3 Dec 2019 19:25:18 +0000 (20:25 +0100)]
Merge pull request #3178 from xinhua9569/master
conf: fix memory leak for set config rootfs options
Stéphane Graber [Tue, 3 Dec 2019 15:34:49 +0000 (10:34 -0500)]
Merge pull request #3202 from brauner/cgroup2_freezer_fixes
cgroups/freezer: rework cgroup2 freezer feature usage
Christian Brauner [Tue, 3 Dec 2019 01:23:34 +0000 (02:23 +0100)]
cgroups/freezer: fix and improve cgroup2 freezer implementation
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 3 Dec 2019 00:24:55 +0000 (01:24 +0100)]
cgroups: add DEFAULT_MOUNTPOINT #define
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Mon, 2 Dec 2019 01:52:08 +0000 (20:52 -0500)]
Merge pull request #3196 from brauner/cgroup2_devices_fixes_2
cgroups/devices: use dedicated enums
Christian Brauner [Sun, 1 Dec 2019 23:50:06 +0000 (00:50 +0100)]
cgroups/devices: use dedicated enums
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Sun, 1 Dec 2019 20:17:34 +0000 (15:17 -0500)]
Merge pull request #3195 from brauner/cgroup2_devices_fixes
cgroup2: add bpf device controller live update
Christian Brauner [Sun, 1 Dec 2019 18:39:48 +0000 (19:39 +0100)]
cgroups/devices: introduce ebpf device cgroup global rule types
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Sun, 1 Dec 2019 17:25:00 +0000 (18:25 +0100)]
cgroups/devices: handle NULL
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Sun, 1 Dec 2019 16:04:43 +0000 (17:04 +0100)]
configure: enable -Wunused-but-set-variable
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Sat, 30 Nov 2019 18:33:19 +0000 (19:33 +0100)]
cgroups/cgfsng: implement cgroup2 device controller live update
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Sat, 30 Nov 2019 15:05:44 +0000 (16:05 +0100)]
conf: record cgroup2 devices in parsed format
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Sat, 30 Nov 2019 14:21:00 +0000 (15:21 +0100)]
cgroups/cgfsng: "atomically" replace bpf device programs
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Sat, 30 Nov 2019 14:00:29 +0000 (15:00 +0100)]
macro: remove unused macros
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Sun, 1 Dec 2019 10:55:19 +0000 (11:55 +0100)]
api_extension: add cgroup2_devices api extension
This will only be defined if liblxc was even compiled with bpf supported.
Support itself will be determined at runtime by liblxc itself.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Fri, 29 Nov 2019 19:28:27 +0000 (14:28 -0500)]
Merge pull request #3194 from brauner/cgroup2_devices
cgroups: add cgroup2 device controller support
Christian Brauner [Thu, 28 Nov 2019 15:22:36 +0000 (16:22 +0100)]
cgroups: add cgroup2 device controller support
Add a bpf-based device controller implementation.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Wed, 27 Nov 2019 08:17:37 +0000 (09:17 +0100)]
Merge pull request #3193 from lifeng68/master
cgfsng: return attach fail if container stopped
LiFeng [Wed, 27 Nov 2019 08:59:23 +0000 (03:59 -0500)]
cgfsng: return attach fail if container stopped
Signed-off-by: LiFeng <lifeng68@huawei.com>
dongxinhua [Thu, 21 Nov 2019 14:20:20 +0000 (22:20 +0800)]
conf: fix memory leak for set config rootfs options
Signed-off-by: dongxinhua <dongxinhua@huawei.com>
Stéphane Graber [Wed, 20 Nov 2019 21:44:06 +0000 (16:44 -0500)]
Merge pull request #3190 from idatahu/fix_ovs_log
fix wrong order of bridge/nic in error message
Balázs Póka [Wed, 20 Nov 2019 19:57:28 +0000 (20:57 +0100)]
fix wrong order of bridge/nic in error message
Signed-off-by: Balázs Póka <poka@idata.hu>
Christian Brauner [Wed, 20 Nov 2019 12:05:46 +0000 (13:05 +0100)]
Merge pull request #3189 from Rachid-Koucha/patch-2
Typo in a comment
Rachid Koucha [Wed, 20 Nov 2019 12:03:47 +0000 (13:03 +0100)]
Typo in a comment
"above" was used instead of "below"
Signed-off-by: Rachid Koucha <rachid.koucha@gmail.com>
Stéphane Graber [Tue, 19 Nov 2019 17:29:58 +0000 (12:29 -0500)]
Merge pull request #3187 from brauner/launchpad_bug_1848587
tests: use /dev/null instead of /dev/network_latency
Christian Brauner [Mon, 18 Nov 2019 14:08:22 +0000 (15:08 +0100)]
tests: use /dev/loop-control instead of /dev/network_latency
BugLink: https://bugs.launchpad.net/bugs/1848587
The latter device has been removed apparently.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Mon, 11 Nov 2019 22:22:19 +0000 (23:22 +0100)]
Merge pull request #3184 from ffontaine/master
configure.ac: fix build on toolchain without SSP
Fabrice Fontaine [Mon, 11 Nov 2019 21:55:36 +0000 (22:55 +0100)]
configure.ac: fix build on toolchain without SSP
Commit
3b5a0eebd4d2efdaa03c6fb11950abfcf081fab8 reverted
3aa7271157d3c815a4426c1f8eaea2f3b6dafa6a resulting in lxc being unable
to be built on toolchain without SSP support
Fixes:
- http://autobuild.buildroot.org/results/
57945f54ffbc5c8764b6891a4516c4907e56ab97
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Stéphane Graber [Sat, 9 Nov 2019 18:49:27 +0000 (13:49 -0500)]
Merge pull request #3182 from aadi123/master
Update cgroup.h
Aaditya Murthy [Sat, 9 Nov 2019 18:17:08 +0000 (12:17 -0600)]
Update cgroup.h
Fixed the documentation to say that cgroupv2 uses a unified hierarchy
Signed-off-by: Aaditya Murthy <amurthy123@utexas.edu>
Stéphane Graber [Wed, 6 Nov 2019 13:39:10 +0000 (08:39 -0500)]
Merge pull request #3180 from brauner/2019-11-06/terminal_fixes
terminal: bugfixes
Christian Brauner [Wed, 6 Nov 2019 13:08:55 +0000 (14:08 +0100)]
terminal: prevent returning invalid pointer
Closes: https://github.com/lxc/lxd/issues/6408
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Wed, 6 Nov 2019 13:03:43 +0000 (14:03 +0100)]
terminal: make lxc_terminal_signal_fini() static
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Mon, 4 Nov 2019 14:44:11 +0000 (15:44 +0100)]
Merge pull request #3177 from hallyn/2019-11-01/mapself
lxc-usernsexec: support easily mapping own uid
Serge Hallyn [Fri, 1 Nov 2019 05:34:02 +0000 (00:34 -0500)]
lxc-usernsexec: support easily mapping own uid
Signed-off-by: Serge Hallyn <shallyn@cisco.com>
Christian Brauner [Wed, 30 Oct 2019 11:10:00 +0000 (12:10 +0100)]
Merge pull request #3175 from ralt/pr/execute-attach-exit-code-tests
tests: add tests making sure the exit code is appropriate.
Florian Margaine [Tue, 29 Oct 2019 09:53:17 +0000 (10:53 +0100)]
tests: add tests making sure the exit code is appropriate.
lxc2 broke this feature for lxc-execute, and lxc3 broke it for
lxc-attach. This adds a test making sure we don't do the same mistake
a third time.
Signed-off-by: Florian Margaine <florian@platform.sh>
Stéphane Graber [Tue, 29 Oct 2019 08:29:17 +0000 (09:29 +0100)]
Merge pull request #3174 from Blub/2019-10-29/terminal-init-null-on-error
terminal: return NULL on error in terminal_signal_init
Wolfgang Bumiller [Tue, 29 Oct 2019 07:42:59 +0000 (08:42 +0100)]
terminal: return NULL on error in terminal_signal_init
Callers expect a NULL on error, and with PR #3171 marking
the pointer as __do_free, we now return a pointer to freed
memory here otherwise.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Stéphane Graber [Fri, 25 Oct 2019 13:38:25 +0000 (09:38 -0400)]
Merge pull request #3171 from brauner/bugfixes
terminal: prevent memory leak for lxc_terminal_state
Christian Brauner [Fri, 25 Oct 2019 09:45:55 +0000 (11:45 +0200)]
terminal: prevent memory leak for lxc_terminal_state
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Wed, 23 Oct 2019 09:02:37 +0000 (11:02 +0200)]
Merge pull request #3169 from Blub/2019-10-23/aa_prevent_proc-acpi
apparmor: Prevent writes to /proc/acpi/**
Wolfgang Bumiller [Wed, 23 Oct 2019 08:53:21 +0000 (10:53 +0200)]
apparmor: Prevent writes to /proc/acpi/**
Same as #3117.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Christian Brauner [Tue, 22 Oct 2019 12:09:47 +0000 (14:09 +0200)]
Merge pull request #3168 from havmind/memfd_create_powerpc
syscall_wrappers: rename internal memfd_create to memfd_create_lxc
Patrick Havelange [Tue, 22 Oct 2019 10:29:54 +0000 (12:29 +0200)]
syscall_wrappers: rename internal memfd_create to memfd_create_lxc
In case the internal memfd_create has to be used, make sure we don't
clash with the already existing memfd_create function from glibc.
This can happen if this glibc function is a stub. In this case, at
./configure time, the test for this function will return false, however
the declaration of that function is still available. This leads to
compilation errors.
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Christian Brauner [Mon, 14 Oct 2019 09:21:01 +0000 (11:21 +0200)]
Merge pull request #3161 from tomponline/tp-lxc-destroy
lxc/tools/lxc/destroy: Restores error message on container destroy
Thomas Parrott [Mon, 14 Oct 2019 09:10:21 +0000 (10:10 +0100)]
lxc/tools/lxc/destroy: Restores error message on container destroy
Partially reverts
65b92ea5fcab559fd21be2685bd2f15ef6d33532 so that trying to destroy a non-existent container gives an error message.
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Stéphane Graber [Sat, 12 Oct 2019 16:49:52 +0000 (12:49 -0400)]
Merge pull request #3160 from tenforward/japanese
Update lxc.containers.conf(5) in Japanese
KATOH Yasufumi [Sat, 12 Oct 2019 16:39:52 +0000 (01:39 +0900)]
Update lxc.containers.conf(5) in Japanese
Update for commit
767bd70
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Stéphane Graber [Sat, 12 Oct 2019 16:29:31 +0000 (12:29 -0400)]
Merge pull request #3159 from Rachid-Koucha/patch-1
Bad sgml/man translation
Rachid Koucha [Sat, 12 Oct 2019 11:05:50 +0000 (13:05 +0200)]
Bad sgml/man translation
When calling "man lxc.container.conf", an internal "man" keyword is displayed :
$ man lxc.container.conf
[...]
lxc.mount.entry
Specify a mount point corresponding to a line in the fstab format. Moreover lxc supports mount propagation, such as
rslave or rprivate, and adds three additional mount options. optional don't fail if mount does not work. create=dir
or create=file to create dir (or file) when the point will be mounted. relative source path is taken to be relative to
the mounted container root. For instance,
dev/null proc/kcore none bind,relative 0 0
.fi <-----------------------------------UNEXPECTED KEYWORD !!!!
The problem seems to come from the missing blanks before "dev/null proc/kcore none bind,relative 0 0"
Moreover, for homogeneity purposes, it is better to use the "programlisting" tag used in the rest of the text instead of "screen".
Signed-off-by: Rachid Koucha <rachid.koucha@gmail.com>
Christian Brauner [Fri, 11 Oct 2019 07:20:46 +0000 (09:20 +0200)]
Merge pull request #3157 from tenforward/japanese
Update Japanese lxc.container.conf(5)
KATOH Yasufumi [Fri, 11 Oct 2019 07:06:20 +0000 (16:06 +0900)]
Add more info about lxc.start.order in Japanese man
Update for commit
0684250
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
KATOH Yasufumi [Fri, 11 Oct 2019 07:04:06 +0000 (16:04 +0900)]
Add autodev.tmpfs.size to Japanese lxc.container.conf(5)
Update for commit
63012bd
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Christian Brauner [Thu, 10 Oct 2019 09:04:12 +0000 (11:04 +0200)]
Merge pull request #3155 from caioboffo/issue#3147
Send successful output messages to log info instead of error
Caio B. Silva [Wed, 9 Oct 2019 19:00:58 +0000 (16:00 -0300)]
lxc-destroy: send successful output messages to log info instead of error.
Signed-off-by: Caio B. Silva <caioboffo@gmail.com>
Stéphane Graber [Wed, 9 Oct 2019 13:36:12 +0000 (09:36 -0400)]
Merge pull request #3154 from ljelinek-cznic/doc-start-order
doc: Add more info about 'lxc.start.order'
Lukas Jelinek [Wed, 9 Oct 2019 10:15:48 +0000 (12:15 +0200)]
doc: Add more info about 'lxc.start.order'
Signed-off-by: Lukas Jelinek <lukas.jelinek@nic.cz>
Christian Brauner [Mon, 7 Oct 2019 13:31:49 +0000 (15:31 +0200)]
Merge pull request #3152 from caioboffo/more_autoconf_improvements
Autoconf 2.69 conformance II
Caio B. Silva [Tue, 1 Oct 2019 14:36:05 +0000 (11:36 -0300)]
update obsolete functions
Signed-off-by: Caio B. Silva <caioboffo@gmail.com>
Serge Hallyn [Fri, 4 Oct 2019 16:48:50 +0000 (09:48 -0700)]
Merge pull request #3128 from Napsty/add-parameter-devfs_size
Add config parameter for /dev tmpfs size
Claudio Kuenzler [Wed, 28 Aug 2019 11:01:00 +0000 (04:01 -0700)]
Add autodev.tmpfs.size config parameter
Signed-off-by: Claudio Kuenzler <ck@claudiokuenzler.com>
Serge Hallyn [Fri, 4 Oct 2019 14:33:23 +0000 (07:33 -0700)]
Merge pull request #2933 from brauner/2019-04-13/pdeath_signal_fixes
start: handle setting pdeath signal in new pidns
Christian Brauner [Sat, 13 Apr 2019 14:41:30 +0000 (16:41 +0200)]
start: handle setting pdeath signal in new pidns
In the usual case the child runs in a separate pid namespace. So far we haven't
been able to reliably set the pdeath signal. When we set the pdeath signal we
need to verify that we haven't lost a race whereby we have been orphaned and
though we have set a pdeath signal it won't help us since, well, the parent is
dead.
We were able to correctly handle this case when we were in the same pidns since
getppid() will return a valid pid. When we are in a separate pidns 0 will be
returned since the parent doesn't exist in our pidns.
A while back, while Jann and I were discussing other things he came up with a
nifty idea: simply pass an fd for the parent's status file and check the
"State:" field. This is the implementation of that idea.
Suggested-by: Jann Horn <jann@thejh.net>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Serge Hallyn [Fri, 4 Oct 2019 14:15:36 +0000 (07:15 -0700)]
Merge pull request #3150 from brauner/2019-10-04/pidfd_fixes
start: pidfds obviously start - like any fd - at 0
Christian Brauner [Fri, 4 Oct 2019 08:31:41 +0000 (10:31 +0200)]
start: pidfds obviously start - like any fd - at 0
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 3 Oct 2019 19:23:51 +0000 (21:23 +0200)]
Merge pull request #3149 from AlbanVidal/fix-lxc-update-config
Fix lxc-update-config in network.address
Alban VIDAL [Thu, 3 Oct 2019 16:32:47 +0000 (18:32 +0200)]
Fix lxc-update-config in network.address
Signed-off-by: Alban VIDAL <zordhak@debian.org>
Christian Brauner [Tue, 1 Oct 2019 09:32:16 +0000 (11:32 +0200)]
Merge pull request #3146 from caioboffo/autoconf_2_69_conformance
Autoconf 2.69 conformance
Caio B. Silva [Mon, 30 Sep 2019 12:25:00 +0000 (09:25 -0300)]
allow users to configure the option --enable-feature or --with-package, if an option is given run shell commands action-if-given
Signed-off-by: Caio B. Silva <caioboffo@gmail.com>
Caio B. Silva [Fri, 27 Sep 2019 16:35:43 +0000 (13:35 -0300)]
Set minimun autoconf version to 2.69 and change obsolete function AC_HELP_STRING for AS_HELP_STRING
Signed-off-by: Caio B. Silva <caioboffo@gmail.com>
Christian Brauner [Tue, 24 Sep 2019 12:19:47 +0000 (14:19 +0200)]
Merge pull request #3140 from caioboffo/fix3139
Ensures OpenSSL compatibility with older versions of EVP API.
Stéphane Graber [Fri, 20 Sep 2019 10:22:52 +0000 (12:22 +0200)]
Merge pull request #3144 from tenforward/japanese
Update Japanese man pages
KATOH Yasufumi [Fri, 20 Sep 2019 09:14:06 +0000 (18:14 +0900)]
doc: Add the lxc.net.[i].veth.mode option in Japanese lxc.container.conf(5)
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
KATOH Yasufumi [Thu, 19 Sep 2019 16:15:12 +0000 (01:15 +0900)]
doc: Add Japanese pam_cgfs(8) man page
* translate pam_cgfs(8)
* support --{enable,disable}-{commands,tools} in doc/ja
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Stéphane Graber [Wed, 18 Sep 2019 15:26:18 +0000 (17:26 +0200)]
Merge pull request #3141 from avhvr/man-pam_cgfs
doc: add man page for pam_cgfs
Venkata Harshavardhan Reddy Allu [Wed, 18 Sep 2019 13:08:23 +0000 (18:38 +0530)]
doc: add man page for pam_cgfs
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
Caio B. Silva [Mon, 16 Sep 2019 17:22:33 +0000 (14:22 -0300)]
Ensures OpenSSL compatibility with older versions of EVP API.
Signed-off-by: Caio B. Silva <caioboffo@gmail.com>
Christian Brauner [Fri, 6 Sep 2019 07:10:22 +0000 (09:10 +0200)]
Merge pull request #3134 from jcfaracco/loop
utils: Copying source filename to avoid missing info
Julio Faracco [Thu, 5 Sep 2019 04:43:21 +0000 (01:43 -0300)]
utils: Copying source filename to avoid missing info.
Some applications use information from LOOP_GET_STATUS64. The file
associated with loop device is pointed inside structure field
`lo_file_name`. The current code is setting up a loop device without
this information. A legacy example of code checking this is cryptsetup:
static char *_ioctl_backing_file(const char *loop)
{
struct loop_info64 lo64 = {0};
int loop_fd;
loop_fd = open(loop, O_RDONLY);
if (loop_fd < 0)
return NULL;
if (ioctl(loop_fd, LOOP_GET_STATUS64, &lo64) < 0) {
close(loop_fd);
return NULL;
}
lo64.lo_file_name[LO_NAME_SIZE-2] = '*';
lo64.lo_file_name[LO_NAME_SIZE-1] = 0;
close(loop_fd);
return strdup((char*)lo64.lo_file_name);
}
It will return an empty string because lo_file_name was not set.
Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
Stéphane Graber [Tue, 3 Sep 2019 02:58:28 +0000 (20:58 -0600)]
Merge pull request #3132 from brauner/2019-09-02/cgroup_improvements
cgroups: unify cgfsng_{un}freeze()
Christian Brauner [Mon, 2 Sep 2019 21:51:19 +0000 (23:51 +0200)]
cgroups: unify cgfsng_{un}freeze()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Thu, 29 Aug 2019 15:45:28 +0000 (09:45 -0600)]
Merge pull request #3130 from brauner/2019-08-30/cgroup_fixes
cgroup: bugfixes
Christian Brauner [Thu, 29 Aug 2019 12:05:17 +0000 (14:05 +0200)]
cgroups: initialize cgroup root directory - encore
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 29 Aug 2019 11:56:56 +0000 (13:56 +0200)]
cgroups: check for empty cgroups on freeze/unfreeze
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Wed, 28 Aug 2019 18:53:45 +0000 (12:53 -0600)]
Merge pull request #3129 from brauner/2019-08-28/fix_cgroup_braino
cgroups: initialize cgroup root directory
Christian Brauner [Wed, 28 Aug 2019 18:33:39 +0000 (20:33 +0200)]
cgroups: initialize cgroup root directory
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Wed, 28 Aug 2019 11:46:09 +0000 (13:46 +0200)]
Merge pull request #3112 from avkvl/fix_count_user_network_interfaces
try to fix search user instead of search substring
Christian Brauner [Tue, 27 Aug 2019 20:50:34 +0000 (22:50 +0200)]
Merge pull request #3055 from Rachid-Koucha/patch-3
Use file/directory names from macro.h
Stéphane Graber [Tue, 27 Aug 2019 20:01:41 +0000 (14:01 -0600)]
Merge pull request #3120 from brauner/2019-08-15/cgroup2_freezer
cgroups: support cgroup2 freezer
Stéphane Graber [Tue, 27 Aug 2019 19:38:57 +0000 (13:38 -0600)]
Merge pull request #3097 from lpirl/proc-1-uid_map-permission-denied
suppress false-negative error in templates and nvidia hook
Stéphane Graber [Tue, 27 Aug 2019 19:36:04 +0000 (13:36 -0600)]
Merge pull request #3122 from terceiro/lxc-attach-exit-status
lxc-attach: make sure exit status of command is returned
Stéphane Graber [Tue, 27 Aug 2019 19:34:28 +0000 (13:34 -0600)]
Merge pull request #3117 from P-EB/master
[aa-profile] Deny access to /proc/acpi/**
Pierre-Elliott Bécue [Sat, 10 Aug 2019 20:07:42 +0000 (22:07 +0200)]
[aa-profile] Deny access to /proc/acpi/**
Signed-off-by: Pierre-Elliott Bécue <becue@crans.org>
Antonio Terceiro [Sun, 18 Aug 2019 20:30:32 +0000 (17:30 -0300)]
lxc-attach: make sure exit status of command is returned
Commit
ae68cad763d5b39a6a9e51de2acd1ad128b720ca introduced a regression that
makes lxc-attach ignore the exit status of the executed command. This was first
identified in 3.0.4 LTS, while it worked on 3.0.3.
# lxc-attach --version
3.0.4
# lxc-attach -n test false; echo $?
0
Signed-off-by: Antonio Terceiro <terceiro@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934983
Christian Brauner [Mon, 26 Aug 2019 15:15:13 +0000 (17:15 +0200)]
Merge pull request #3124 from qianfan-Zhao/lxc-create-abs-path
lxc-create: check absoule path for param '--dir'
Christian Brauner [Mon, 26 Aug 2019 14:16:16 +0000 (16:16 +0200)]
cgfsng: mount pure unified cgroup layout correctly
When pure cgroup unified mode is used we cannot pre-mount a tmpfs as this
confuses systemd.
Users should also set lxc.mount.auto = cgroup:force to ensure that systemd in
the container and on the host use identical cgroup layouts.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
qianfan Zhao [Mon, 19 Aug 2019 01:54:34 +0000 (09:54 +0800)]
lxc-create: check absoule path for param '--dir'
Fix: #3123
Signed-off-by: qianfan Zhao <qianfanguijin@163.com>
Christian Brauner [Thu, 15 Aug 2019 17:50:39 +0000 (19:50 +0200)]
cgroups: support cgroup2 freezer
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>