]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
sanity: check for working user namespaces
authorRoss Burton <ross.burton@arm.com>
Thu, 12 Sep 2024 16:57:36 +0000 (17:57 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 10 Dec 2024 13:41:27 +0000 (05:41 -0800)
commit3577ceca39c7c3be81563de9ccf06a805f61d3ca
tree6f75382edb9c23e8495ced42da6ecc790b48f9a0
parent3273ace1e5e4b0573ceaa44f2710f651db9ae525
sanity: check for working user namespaces

If user namespaces are not available (typically because AppArmor is
blocking them), alert the user.

We consider network isolation sufficiently important that this is a fatal
error, and the user will need to configure AppArmor to allow bitbake to
create a user namespace.

[ YOCTO #15592 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b6af956fe6e876957a49d4abf425e8c789bf0459)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes-global/sanity.bbclass