hook into system-image updates to precompile policy prior to reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
click-apparmor (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
unity8 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Occasionally users will receive and OTA update that requires apparmor policy to be recompiled. Recompiling apparmor policy can take quite a bit of time (minutes) depending on how many applications the user has installed. While this is only expected to happen on major OTA OS upgrades (eg, 14.10 to 15.04), it is possible it could happen at other times. This would improve the user experience for developers considerably since policy recompiles can be relatively frequent when running the development release.
<https:/
To improve the user experience, we should detect and recompile apparmor profiles prior to reboot but after system-image updates has downloaded the new update. This always for the possibility of using a progress meter when compiling policy (which we currently cannot).
<https:/
See also bug 1350598, about caching compiled policies more often.
Changed in ubuntu-ux: | |
assignee: | nobody → Matthew Paul Thomas (mpt) |
status: | New → Triaged |
summary: |
- hook into system-image updates to precompile policy prior to reboot + [system updates] hook into system-image updates to precompile policy + prior to reboot |
Changed in ubuntu-ux: | |
importance: | Undecided → Medium |
Changed in ubuntu-ux: | |
status: | Incomplete → Triaged |
description: | updated |
Changed in ubuntu-ux: | |
importance: | Medium → High |
Changed in ubuntu-ux: | |
status: | Triaged → In Progress |
no longer affects: | ubuntu-ux |
Would it be at all possible to do this in recovery?