[lxc/lxc] 48728e: conf: add cgroup2, cgroup2:ro, cgroup2:force, cgro...

0 views
Skip to first unread message

Simon Deziel

unread,
Oct 29, 2021, 4:09:06 AMOct 29
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/stable-4.0
Home: https://github.com/lxc/lxc
Commit: 48728e9880f50c4e354eadb7b9836b63276e3eda
https://github.com/lxc/lxc/commit/48728e9880f50c4e354eadb7b9836b63276e3eda
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-29 (Fri, 29 Oct 2021)

Changed paths:
M doc/api-extensions.md
M src/lxc/api_extensions.h
M src/lxc/cgroups/cgfsng.c
M src/lxc/conf.h
M src/lxc/confile.c

Log Message:
-----------
conf: add cgroup2, cgroup2:ro, cgroup2:force, cgroup2:ro:force options

We keep running into situations where we want to pre-mount a pure
cgroup2 layout regardless of the layout of the host.

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


Commit: bc51048b7918b5c28ef104811e9f21d80e331f84
https://github.com/lxc/lxc/commit/bc51048b7918b5c28ef104811e9f21d80e331f84
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-29 (Fri, 29 Oct 2021)

Changed paths:
M src/lxc/confile.c

Log Message:
-----------
confile: don't use path_simplify() on lxc.{execute,init}.cmd

Fixes: #4015
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: d04eb166c64ca8185119d502bf84a66a04dc3fd9
https://github.com/lxc/lxc/commit/d04eb166c64ca8185119d502bf84a66a04dc3fd9
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-29 (Fri, 29 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: add static libcap to output

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


Commit: 9219277cc6627654adf03628b84d15eb0a545138
https://github.com/lxc/lxc/commit/9219277cc6627654adf03628b84d15eb0a545138
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-29 (Fri, 29 Oct 2021)

Changed paths:
M meson.build
M meson_options.txt

Log Message:
-----------
build: add io-uring-event-loop option

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


Commit: 1a8895855e9f3d7afded64fca74f4d9fc7974984
https://github.com/lxc/lxc/commit/1a8895855e9f3d7afded64fca74f4d9fc7974984
Author: Diederik de Haas <didi....@cknow.org>
Date: 2021-10-29 (Fri, 29 Oct 2021)

Changed paths:
M config/init/common/lxc-net.in
M hooks/dhclient.in
M hooks/nvidia
M src/lxc/cmd/lxc-checkconfig.in
M templates/lxc-busybox.in
M templates/lxc-oci.in

Log Message:
-----------
Replace 'which' with 'command -v'

The 'which' command is deprecated on Debian Sid as it is not POSIX
compliant and it's behavior is therefor not consistent, so replace it
with 'command -v' which is POSIX compliant.
See https://stackoverflow.com/a/677212 for details.

Also replaced a use of backticks (`) as that is deprecated as well.
See https://github.com/koalaman/shellcheck/wiki/SC2006 for details.

Signed-off-by: Diederik de Haas <didi....@cknow.org>


Commit: f69e6b4d3f7d614de190e72d610705272ee36909
https://github.com/lxc/lxc/commit/f69e6b4d3f7d614de190e72d610705272ee36909
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-29 (Fri, 29 Oct 2021)

Changed paths:
M src/lxc/mainloop.c

Log Message:
-----------
mainloop: make sure that descr->ring is allocated

This is future proofing more than anything else.

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


Commit: 71743e8111738bd70b0b126f6500b95c0db2e806
https://github.com/lxc/lxc/commit/71743e8111738bd70b0b126f6500b95c0db2e806
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-29 (Fri, 29 Oct 2021)

Changed paths:
M src/lxc/start.c

Log Message:
-----------
start: check event loop type before closing fd

Since this is a union we might otherwise stomp on io_uring mmap()ed
memory.

Fixes: #4016
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: fdfb4a13dec5d23f0c87b64064b092dee5583531
https://github.com/lxc/lxc/commit/fdfb4a13dec5d23f0c87b64064b092dee5583531
Author: Diederik de Haas <didi....@cknow.org>
Date: 2021-10-29 (Fri, 29 Oct 2021)

Changed paths:
M src/tests/lxc-test-apparmor-generated
M src/tests/lxc-test-apparmor-mount
M src/tests/lxc-test-unpriv
M src/tests/lxc-test-usernic.in

Log Message:
-----------
Replace 'which' with 'command -v' in tests too

Forgot to modify and include the tests in previous PR, so do that now.

Signed-off-by: Diederik de Haas <didi....@cknow.org>


Commit: 1ec5939b4aae696f1109875a6ff57e85bda37b25
https://github.com/lxc/lxc/commit/1ec5939b4aae696f1109875a6ff57e85bda37b25
Author: Diederik de Haas <didi....@cknow.org>
Date: 2021-10-29 (Fri, 29 Oct 2021)

Changed paths:
M coccinelle/run-coccinelle.sh
M config/init/common/lxc-containers.in
M config/init/common/lxc-net.in
M configure.ac
M hooks/mountecryptfsroot
M src/lxc/cmd/lxc-checkconfig.in
M src/lxc/lxc.functions.in
M src/tests/lxc-test-apparmor-generated
M src/tests/lxc-test-apparmor-mount
M src/tests/lxc-test-automount
M src/tests/lxc-test-cloneconfig
M src/tests/lxc-test-createconfig
M src/tests/lxc-test-fuzzers
M src/tests/lxc-test-lxc-attach
M src/tests/lxc-test-rootfs
M src/tests/lxc-test-snapdeps
M src/tests/lxc-test-symlink
M src/tests/lxc-test-unpriv
M templates/lxc-busybox.in

Log Message:
-----------
Replace deprecated backticks with $() construct

See https://github.com/koalaman/shellcheck/wiki/SC2006 for details.
Not only uses this the recommended construct, it also makes the code
more uniform as in many other places the $() construct was already used.

Signed-off-by: Diederik de Haas <didi....@cknow.org>


Commit: cf931928f1998fc8404376d215aa151d574d95ca
https://github.com/lxc/lxc/commit/cf931928f1998fc8404376d215aa151d574d95ca
Author: Simon Deziel <simon....@canonical.com>
Date: 2021-10-29 (Fri, 29 Oct 2021)

Changed paths:
M hooks/nvidia

Log Message:
-----------
Replace last occurence of 'which' with 'command -v'

The later is builtin and POSIX compliant.

Signed-off-by: Simon Deziel <simon....@canonical.com>


Compare: https://github.com/lxc/lxc/compare/4d3aad49d6e6...cf931928f199
Reply all
Reply to author
Forward
0 new messages