mkosi: enable unprivileged user ns for integration tests
authorLuca Boccassi <bluca@debian.org>
Sun, 16 Jun 2024 10:16:21 +0000 (11:16 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 18 Jun 2024 18:41:01 +0000 (20:41 +0200)
commit9f5f3c2f8bc2c3d82678672f3e700c1eb4e52d61
treea5400d6d3ea350fb5186cd28641c214e19afc9f6
parent1a0e6961cfaed42bda542e111738c136f7b4d73f
mkosi: enable unprivileged user ns for integration tests

Ubuntu disables them by default in Noble, ship a sysctl to turn them back on
so that tests can use them

(cherry picked from commit 4cfcde024f34b3e5f682364d4e0c6185ef07d467)
mkosi.images/system/mkosi.extra/usr/lib/sysctl.d/99-apparmor-unpriv-userns.conf [new file with mode: 0644]