[lxc/lxc] 1d8d43: tests/lxc-test-rootfs: add idmapped rootfs testcase

1 view
Skip to first unread message

Stéphane Graber

unread,
Jul 29, 2025, 10:32:48 AMJul 29
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/main
Home: https://github.com/lxc/lxc
Commit: 1d8d439af89aab6e2cf51c0ed2857f86c477d2d2
https://github.com/lxc/lxc/commit/1d8d439af89aab6e2cf51c0ed2857f86c477d2d2
Author: Alexander Mikhalitsyn <aleksandr....@canonical.com>
Date: 2025-07-29 (Tue, 29 Jul 2025)

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

Log Message:
-----------
tests/lxc-test-rootfs: add idmapped rootfs testcase

I've discovered that we have no test coverage for rootfs
"lxc.rootfs.options = idmap=container" at all.

Let's add this basic test at least.

Signed-off-by: Alexander Mikhalitsyn <aleksandr....@canonical.com>


Commit: 23633ab0f7462fa22643a69763a9dd8452d6b54b
https://github.com/lxc/lxc/commit/23633ab0f7462fa22643a69763a9dd8452d6b54b
Author: Alexander Mikhalitsyn <aleksandr....@canonical.com>
Date: 2025-07-29 (Tue, 29 Jul 2025)

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

Log Message:
-----------
tests/lxc-test-snapdeps: try to load overlay kernel module

We don't want test to be skipped just because overlay module
isn't loaded yet.

Signed-off-by: Alexander Mikhalitsyn <aleksandr....@canonical.com>


Commit: 5db329a4b925961f4e078018bd69b57e2294abed
https://github.com/lxc/lxc/commit/5db329a4b925961f4e078018bd69b57e2294abed
Author: Alexander Mikhalitsyn <aleksandr....@canonical.com>
Date: 2025-07-29 (Tue, 29 Jul 2025)

Changed paths:
M src/lxc/network.c

Log Message:
-----------
lxc/network: null-terminate ifname string in lxc_network_recv_name_and_ifindex_from_child()

Fixes: Coverity 1486538
Signed-off-by: Alexander Mikhalitsyn <aleksandr....@canonical.com>


Commit: b3a5d2814b3b25eb7d004fbb038bea3d8cf3e378
https://github.com/lxc/lxc/commit/b3a5d2814b3b25eb7d004fbb038bea3d8cf3e378
Author: Alexander Mikhalitsyn <aleksandr....@canonical.com>
Date: 2025-07-29 (Tue, 29 Jul 2025)

Changed paths:
M src/lxc/conf.c

Log Message:
-----------
lxc/conf: do not leak opts.data memory in __lxc_idmapped_mounts_child()

Fixes: Coverity 1641425
Signed-off-by: Alexander Mikhalitsyn <aleksandr....@canonical.com>


Commit: 523be85a228767cbe05ec15a1cb0f720f27b0ce3
https://github.com/lxc/lxc/commit/523be85a228767cbe05ec15a1cb0f720f27b0ce3
Author: Stéphane Graber <stgr...@stgraber.org>
Date: 2025-07-29 (Tue, 29 Jul 2025)

Changed paths:
M src/lxc/conf.c
M src/lxc/network.c
M src/tests/lxc-test-rootfs
M src/tests/lxc-test-snapdeps

Log Message:
-----------
Merge pull request #4567 from mihalicyn/various_fixes_jul2025

A bunch of fixes (Jul 2025)


Compare: https://github.com/lxc/lxc/compare/49b75bb817d3...523be85a2287

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