[lxc/lxc] 099089: Ensure do_lxcapi_unfreeze returns false when getst...

0 views
Skip to first unread message

DreamConnected

unread,
Feb 18, 2026, 10:54:01 PM (6 days ago) Feb 18
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/stable-6.0
Home: https://github.com/lxc/lxc
Commit: 0990899715bd3d5c59d85e44df21c0a938737635
https://github.com/lxc/lxc/commit/0990899715bd3d5c59d85e44df21c0a938737635
Author: Fernando Picazo <fernand...@outlook.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M src/lxc/lxccontainer.c

Log Message:
-----------
Ensure do_lxcapi_unfreeze returns false when getstate errors

Signed-off-by: Fernando Picazo <fernand...@outlook.com>


Commit: 058be42aa9336317182c7b5ddfefcca877f1687b
https://github.com/lxc/lxc/commit/058be42aa9336317182c7b5ddfefcca877f1687b
Author: Jaeyoon Jung <jaeyoo...@lge.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M meson.build
M src/lxc/process_utils.h

Log Message:
-----------
build: Check if P_PIDFD is defined

It is defined in enum 'idtype_t' in some environment in which causes an
error like:
../git/src/lxc/process_utils.h:144:17: error: expected identifier before numeric constant
144 | #define P_PIDFD 3
| ^

Signed-off-by: Jaeyoon Jung <jaeyoo...@lge.com>


Commit: edc57196f86db514a48b5bb53f4df893431b9643
https://github.com/lxc/lxc/commit/edc57196f86db514a48b5bb53f4df893431b9643
Author: Jake Chacko <chack...@gmail.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M doc/meson.build
M meson.build
M meson_options.txt

Log Message:
-----------
meson: add meson option for running doxygen in build

Co-developed-by: Jake Chacko <chack...@gmail.com>
Co-developed-by: Rahik Sikder <sikder...@gmail.com>
Signed-off-by: Jake Chacko <chack...@gmail.com>


Commit: bdce7a6340336dc859e04ce6643c7dcdf5963173
https://github.com/lxc/lxc/commit/bdce7a6340336dc859e04ce6643c7dcdf5963173
Author: jamesfeatherston <jamesfea...@utexas.edu>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M src/lxc/uuid.c

Log Message:
-----------
Enumerated all values in array

Signed-off-by: jamesfeatherston <jamesfea...@utexas.edu>


Commit: 4cc343edf2326ffbf65e4b20631b63f7615b032b
https://github.com/lxc/lxc/commit/4cc343edf2326ffbf65e4b20631b63f7615b032b
Author: jamesfeatherston <jamesfea...@utexas.edu>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M config/init/common/lxc-net.in

Log Message:
-----------
Initial changes without testing

Signed-off-by: jamesfeatherston <jamesfea...@utexas.edu>


Commit: d7068a33883f128c68b5aa67a4e437ead381f5f8
https://github.com/lxc/lxc/commit/d7068a33883f128c68b5aa67a4e437ead381f5f8
Author: Hong YANG <hong....@nio.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M src/lxc/cmd/lxc-checkconfig.in

Log Message:
-----------
checkonfig: Fixed compatible with toybox/gunzip

gunzip in Android/toybox has no -q option.

Signed-off-by: Hong YANG <hong....@nio.com>


Commit: a262afb5daac312bbd944d07bc66818f968ce937
https://github.com/lxc/lxc/commit/a262afb5daac312bbd944d07bc66818f968ce937
Author: Hong YANG <hong....@nio.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M src/lxc/utils.c

Log Message:
-----------
Fallback to XDG_RUNTIME_DIR when /run not found

Instead of return null immediately when RUNTIME_PATH
not found, fallback to XDG_RUNTIME_DIR or HOME.

Signed-off-by: Hong YANG <hong....@nio.com>


Commit: 54d323a2d8df00e1986d83926e618261408dc920
https://github.com/lxc/lxc/commit/54d323a2d8df00e1986d83926e618261408dc920
Author: Rahik-Sikder <sikder...@gmail.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M src/lxc/initutils.c
M src/lxc/initutils.h
M src/lxc/lxccontainer.h
M src/lxc/storage/rbd.c
M src/lxc/tools/arguments.h
M src/lxc/tools/lxc_create.c

Log Message:
-----------
added "--rbduser" option in "lxc-create -B rbd"

Co-developed-by: Rahik Sikder <sikder...@gmail.com>
Co-developed-by: Jake Chacko <chack...@gmail.com>

Signed-off-by: Rahik-Sikder <sikder...@gmail.com>


Commit: 59a30025e43a52ca5b7aeead504e65eea98590c7
https://github.com/lxc/lxc/commit/59a30025e43a52ca5b7aeead504e65eea98590c7
Author: Rahik-Sikder <sikder...@gmail.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M doc/lxc-create.sgml.in

Log Message:
-----------
added doc for --rbduser

Signed-off-by: Rahik-Sikder <sikder...@gmail.com>


Commit: 97a2e4af552f69d54ee931cfb85052649b42b188
https://github.com/lxc/lxc/commit/97a2e4af552f69d54ee931cfb85052649b42b188
Author: Jake Chacko <chack...@gmail.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M doc/lxc.sgml.in

Log Message:
-----------
Added documentation on unprivileged LXC containers

Co-developed-by: Jake Chacko <chack...@gmail.com>
Co-developed-by: Rahik Sikder <sikder...@gmail.com>
Signed-off-by: Jake Chacko <chack...@gmail.com>


Commit: e9921c3d750f2234ac3c1039509cb214aad0de8a
https://github.com/lxc/lxc/commit/e9921c3d750f2234ac3c1039509cb214aad0de8a
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M .github/workflows/builds.yml
M .github/workflows/fuzzing.yml

Log Message:
-----------
build(deps): bump actions/upload-artifact from 5 to 6

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <sup...@github.com>


Commit: 8ed8145d654b396f0069305c8c66e83055cecaa0
https://github.com/lxc/lxc/commit/8ed8145d654b396f0069305c8c66e83055cecaa0
Author: Filip Schauer <f.sc...@proxmox.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M src/lxc/start.c

Log Message:
-----------
start: Remove outdated comment about group dropping

Commit b58214ac30bd (tree-wide: improve setgroups() dropping) moved the
group dropping code to occur before lxc_switch_uid_gid. Therefore this
comment is no longer correct.

Signed-off-by: Filip Schauer <f.sc...@proxmox.com>


Commit: c7eac1180e54179a2bdf5b1f857b1c78425328c1
https://github.com/lxc/lxc/commit/c7eac1180e54179a2bdf5b1f857b1c78425328c1
Author: Filip Schauer <f.sc...@proxmox.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M src/lxc/start.c

Log Message:
-----------
start: Respect lxc.init.groups also in new user namespace

Fix supplementary groups defined in 'lxc.init.groups' being ignored when
the container uses a new user namespace.

In other words: Fix lxc.init.groups for unprivileged containers.

Signed-off-by: Filip Schauer <f.sc...@proxmox.com>


Commit: 2072ea4c78acdfd8d664f48ae463ee37ff6157ec
https://github.com/lxc/lxc/commit/2072ea4c78acdfd8d664f48ae463ee37ff6157ec
Author: jamesfeatherston <jamesfea...@utexas.edu>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M src/lxc/lxccontainer.c

Log Message:
-----------
copy_rdepends: Don't fail on missing source file

Signed-off-by: jamesfeatherston <jamesfea...@utexas.edu>


Commit: f9e73517ee33424b6024d5301c51c6046832bdcf
https://github.com/lxc/lxc/commit/f9e73517ee33424b6024d5301c51c6046832bdcf
Author: Serge Hallyn <se...@hallyn.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
cgfsng: fix reboots when using dbus

When using dbus on a systemd system, we ask systemd to create a
"scope" for us to run in. We send a dbus message, and wait
for the reply saying it is created.

When we reboot, we were re-sending the request to create the
scope. However, the scope still exists, because or single
lxc-monitor (originally lxc-start) thread is still under the
'lxc.pivot' sub-directory of the scope.

But, on reboot, our lxc_conf already has our scope recorded!
So, just check whether that is set, and skip scope creation
if so.

With this patch, i can reboot ad nauseum with no apparent
problems.

We could probably move this check to the top of the function,
but for now this fixes the bug.

Signed-off-by: Serge Hallyn <se...@hallyn.com>


Commit: aa42120231b00a46eddbe549c4713f1fb27bae1a
https://github.com/lxc/lxc/commit/aa42120231b00a46eddbe549c4713f1fb27bae1a
Author: Serge Hallyn <se...@hallyn.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
Improve the dbus scope creation error handling

If there is an actual dbus error, then return an error. If we
have gotten a message that isn't what we are expecting, then keep
waiting.

Also put a time limit on our wiating for a reply. Until now, we
were waiting indefinitely, causing the lxc monitor to hang.

Signed-off-by: Serge Hallyn <se...@hallyn.com>


Commit: 0448c9dd28376440028159b09f5e19a47343898c
https://github.com/lxc/lxc/commit/0448c9dd28376440028159b09f5e19a47343898c
Author: Alessio Attilio <alessio...@engineer.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M Makefile
M meson.build

Log Message:
-----------
build: update Makefile and meson.build

Update Makefile to use 'build' directory and add helper targets. Fix syntax error in meson.build.

Signed-off-by: Alessio Attilio <alessio...@engineer.com>


Commit: d6ccb9abe4c575037edbd8815892226ed716551c
https://github.com/lxc/lxc/commit/d6ccb9abe4c575037edbd8815892226ed716551c
Author: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M .github/workflows/builds.yml
M .github/workflows/tests.yml

Log Message:
-----------
github: test io_uring-based event loop

Previously, I've added https://github.com/lxc/lxc-ci/pull/714,
but this stuff was lost during our switch to GH Actions
from Jenkins.

Signed-off-by: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>


Commit: b964611b3f2453c9cc5027c0211caba6f92f1071
https://github.com/lxc/lxc/commit/b964611b3f2453c9cc5027c0211caba6f92f1071
Author: DreamConnected <14874...@qq.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M src/lxc/file_utils.c
M src/lxc/file_utils.h
M src/lxc/terminal.c

Log Message:
-----------
lxc/{terminal, file_utils}: ensure complete data writes in ptx/peer io handlers

Previously, lxc_write_nointr could return without writing all data
when write() returned EAGAIN/EWOULDBLOCK due to buffer full conditions.

This change:
- Implements a loop to continue writing until all data is sent
- Handles EINTR, EAGAIN, and EWOULDBLOCK errors appropriately
- Uses poll() to wait for fd to become ready when blocked
- Maintains backward compatibility while fixing partial write issues

Signed-off-by: DreamConnected <14874...@qq.com>
[ alex ]
- introduce a separate helper lxc_write_all and use it only in ptx/peer
io handlers
- cleanup the code a bit
Signed-off-by: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>


Commit: 99c3206c74fb527866b5cce8f1a93eab7c0f720a
https://github.com/lxc/lxc/commit/99c3206c74fb527866b5cce8f1a93eab7c0f720a
Author: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M src/tests/lxc-test-lxc-attach

Log Message:
-----------
tests/lxc-attach: ensure no data corruption happens during heavy IO on pts

Signed-off-by: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>


Commit: 885496ccccbaa6ab67541ff66e9967e110c5285b
https://github.com/lxc/lxc/commit/885496ccccbaa6ab67541ff66e9967e110c5285b
Author: DreamConnected <14874...@qq.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M src/lxc/confile.c

Log Message:
-----------
src/confile: fix values of lxc.cap.keep and lxc.cap.drop

Signed-off-by: DreamConnected <14874...@qq.com>


Commit: 01b9e35a7d260d819de63a46534cb213f2485b44
https://github.com/lxc/lxc/commit/01b9e35a7d260d819de63a46534cb213f2485b44
Author: Herman Semenoff <Germa...@yandex.ru>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
A config/init/openrc/lxc-containers.in
A config/init/openrc/lxc-net.in
A config/init/openrc/meson.build
M meson.build
M meson_options.txt

Log Message:
-----------
lxc: added support OpenRC init system

https://github.com/OpenRC/openrc
Signed-off-by: Herman Semenoff <Germa...@yandex.ru>


Commit: 540f9e2bcfc064f3144268c485c07f15bedfdb19
https://github.com/lxc/lxc/commit/540f9e2bcfc064f3144268c485c07f15bedfdb19
Author: Joonas Niilola <jui...@gentoo.org>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M meson.build

Log Message:
-----------
meson.build: fix openat2 include typo, fix with glibc-2.43 +FORTIFY

Closes: https://github.com/lxc/lxc/issues/4641
Signed-off-by: Joonas Niilola <jui...@gentoo.org>


Commit: 5e68a7a633659039d9b114d2b75fdba0df51e52c
https://github.com/lxc/lxc/commit/5e68a7a633659039d9b114d2b75fdba0df51e52c
Author: Li Lu <14874...@qq.com>
Date: 2026-02-18 (Wed, 18 Feb 2026)

Changed paths:
M meson.build
M src/lxc/open_utils.h

Log Message:
-----------
meson.build: fix open_how include with glibc-2.43+

Signed-off-by: Li Lu <14874...@qq.com>


Compare: https://github.com/lxc/lxc/compare/f9ff9ea2a926...5e68a7a63365

To unsubscribe from these emails, change your notification settings at https://github.com/lxc/lxc/settings/notifications
Reply all
Reply to author
Forward
0 new messages