/etc/apparmor.d/usr.bin.pasta is missing in Ubuntu's package
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| apparmor (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
| passt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Ubuntu's apparmor package contains `/etc/apparmor.
Ubuntu has to cherry-pick <https:/
ref: Comment from Stefano Brivio (sbrivio-rh) <https:/
> ### About the AppArmor issue
>
> I finally had the chance to check this on Ubuntu 23.10, 24.04, a current snapshot of the upcoming 24.10, a current openSUSE Tumbleweed version, and a current Debian unstable (sid) installation.
>
> The issue occurs on Ubuntu 23.10 (`passt-
>
> That commit actually includes the AppArmor profile for `pasta(1)` in the package. The AppArmor ABI of the profile is `3.0`, so it doesn't contain an explicit `allow userns create`, but the mere fact that there's a profile with ABI 3.0 allows pasta to create its sandboxing user namespace.
>
> Quoting from Ubuntu's SE045 specification, one step for that change should have been:
>
> > identify all packages within the Ubuntu archive that make use of unprivileged user namespaces
>
> but this was somehow missed, I guess (I'm the maintainer of the Debian package, but I didn't get any notification).
>
> Now, while Ubuntu 24.10 and openSUSE Tumbleweed ship AppArmor packages with support for the `4.0` ABI, Debian unstable still ships 3.1.17, so, to keep things simple and still ship a single AppArmor profile (developed upstream), I won't update the profile to ABI 4.0 yet. Updating the profile wouldn't solve the issue anyway.
>
> So, how do we solve this? We would need to backport that Debian commit to Ubuntu 24.04 (and possibly 23.10), but I can't seem to register a Launchpad account to even start the [process](https:/
| summary: |
- /etc/apparmor.d/usr.bin.pasta is missing in Ubuntu's apparmor package + /etc/apparmor.d/usr.bin.pasta is missing in Ubuntu's package |
| Changed in passt (Ubuntu): | |
| status: | Confirmed → Fix Released |

Since the profile is not shipped by the apparmor package, I'm marking it as invalid and adding the correct package passt