Comment 11 for bug 2056555

Revision history for this message
Changqing Li (sandy-lcq) wrote (last edit ): Re: Python can't write to /proc files

The following profile works for me, using ** because user of bitbake might put the code anywhere, it is not a hardcode path, so this might 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