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 <abi/4.0>, include <tunables/global> profile bitbake /**/bitbake/bin/bitbake flags=(unconfined) { userns, } $ sudo apparmor_parser -r /etc/apparmor.d/bitbake -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056555 Title: Python can't write to /proc files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2056555/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs