Public bug reported:

Ubuntu Version: 24.04.1
Package: apparmor 4.0.1really4.0.1-0ubuntu0.24.04.3

Due to 
https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces 
bwrap does not work out of the box anymore. The error is:
bwrap: setting up uid map: Permission denied

I fixed it by creating this file: /etc/apparmor.d/bwrap                         
                                                                                
     
```
abi <abi/4.0>,
include <tunables/global>

profile bwrap /usr/bin/bwrap flags=(unconfined) {
  userns,

  # Site-specific additions and overrides. See local/README for details.
  include if exists <local/bwrap>
}
```

Could you include this fix in the apparmor package?

** Affects: apparmor (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2089378

Title:
  bwrap needs an apparmor profile to work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2089378/+subscriptions


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

Reply via email to