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
This commit is contained in:
Luca Boccassi 2024-06-16 11:16:21 +01:00
parent 9981bc210a
commit 4cfcde024f

View file

@ -0,0 +1,4 @@
# Ubuntu since Noble disables unprivileged user namespaces by default, re-enable them as they are needed
# for integration tests
kernel.apparmor_restrict_unprivileged_unconfined = 0
kernel.apparmor_restrict_unprivileged_userns = 0