chatgpt in this case suggests to Create a Custom AppArmor Profile:

sudo nano /etc/apparmor.d/local/bitbake
containing:

home/**/bitbake/bin/bitbake-worker {
    # Include the basic AppArmor abstractions
    #include <abstractions/base>

    /proc/self/uid_map rw,
    capability sys_admin,
}

and reload the profile:

sudo apparmor_parser -r /etc/apparmor.d/local/bitbake

What do you think, is this a valid solution?

-- 
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/dash/+bug/2056555/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to