[Bug 2072615] [NEW] Request to add a default profile for bitbake

2024-07-09 Thread Changqing Li
Public bug reported: From Ubuntu 24.04, apparmor is enabled by default, and restricts the use of unprivileged user namespaces. This change make yocto project, which use bitbake as build tool failed to build on ubuntu24.04. Related bug:

[Bug 2056555] Re: Python can't write to /proc files

2024-07-08 Thread Changqing Li
The following profile works for me, using ** because user might put the code anywhere, this might could match any path entry. $ cat /etc/apparmor.d/bitbake abi , include profile bitbake /**/bitbake/bin/bitbake flags=(unconfined) { userns, } $ sudo apparmor_parser -r