[SRU] - fixes for apparmor on noble
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
In Progress
|
Undecided
|
Unassigned | ||
Noble |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
This SRU has several fixes:
add unconfined profile for tuxedo-
fix issues appointed by coverity
fix samba profile (https:/
fix redefinition of _ which caused an issue with translation, failing aa-enforce (https:/
add mount test for CVE-2016-1585 (Bug 1597017 and Bug 2023814)
add network inet mediation documentation to apparmor.d
fix inet conditionals to only generate rules for inet family (https:/
add unconfined wike profile (Bug 2060810)
add unconfined foliate profile (Bug 2060767)
fix chromium_browser profile (https:/
add profiles for Transmission family of Bittorrent clients
add profile for unshare utility (Bug 2046844)
add profile for bwrap utility (Bug 2046844)
fix unconfined firefox profile to support mozilla.org download (Bug 2056297)
fix getattr and setattr perm mapping on mqueue rules (https:/
fix inet tests (https:/
fix sshd profile (Bug 2060100)
fix apparmor tools to allow mount destination globbing (https:/
fix firefox profile (https:/
move pam-related permissions to abstractions/
fix condition in policydb serialization to only encode xtable if kernel_
relax mount rules in utils to fix use of virtiofs and other file-system types
[ Test Plan ]
* Make sure to reboot after upgrading (Bug 2072811)
This has been extensively tested via the AppArmor regression test
script in the QA Regression Testing repo:
https:/
Steps:
$ git clone https:/
$ ./scripts/
Copying: test-apparmor.py
Copying: testlib.py
Copying: install-packages
Copying: packages-helper
Copying: apparmor/
Test files: /tmp/qrt-
To run, copy the tarball somewhere, then do:
$ tar -zxf qrt-test-
$ cd ./qrt-test-apparmor
$ sudo ./install-packages test-apparmor.py
$ ./test-apparmor.py -v
This script runs various tests against the installed apparmor
package, as well as building and running the various upstream
regression and other test suites against this installed package:
- https:/
- https:/
- https:/
- https:/
The final test output was:
-------
Ran 62 tests in 1977.045s
OK (skipped=3)
georgia@
apparmor:
Installed: 4.0.1really4.
Candidate: 4.0.1really4.
Run additional tests:
1. Install wike and make sure the wike window opens when executed:
$ sudo apt install wike
$ wike
2. Install foliate, download test epub and make sure it opens as expected:
$ sudo apt install foliate
$ wget https:/
$ foliate Fundamental-
3. Install transmission and make sure it starts properly:
$ sudo apt install transmission
$ transmission-gtk
4. test bwrap profile is no longer enabled by default:
- Install setzer and it will not open because the bwrap profile is not loaded:
$ sudo apt install setzer
$ setzer
This is not a regression since it's the current behavior for 4.0.1really4.
- Check if the following flatpak apps still work:
$ sudo apt install flatpak
$ sudo flatpak remote-add --if-not-exists flathub https:/
$ sudo flatpak install flathub org.gnome.Recipes
$ flatpak run --unshare=network org.gnome.Recipes
$ sudo flatpak install org.keepassxc.
$ flatpak run org.keepassxc.
[ Where problems could occur ]
There could still be more applications affected by the
restriction of the creation of unpriviliged user namespaces. They
might require the creation of new unconfined profiles which could
be mitigated in a later SRU.
[ Other Info ]
The SRU is available in:
https:/
Note that the previous SRU was reverted because of the regression in Bug 2072811.
This SRU has the same contents except for the enablement of the bwrap profile by default. The bwrap profile is available only under the apparmor-profiles package.
The regression on the SRU version 4.0.1-0ubuntu0.
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.