Updating the apparmor manifest and deploying the new code without increasing app version does not trigger apparmor profile update on the device.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Confirmed
|
Medium
|
Alejandro J. Cura | ||
Client Developer Experience |
Confirmed
|
Medium
|
Alejandro J. Cura | ||
click (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
click-apparmor (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
On Krillin, as of rc-proposed r264,
modifying the application apparmor manifest and then deploying the application to the device *without* increasing the app version will not trigger the apparmor profile update.
As a consequence, the developer is left confused because the app is still complaining about apparmor denials even after he modified the apparmo manifest and deployed the new .click package.
Deploying changes to an application without updating its version number is a quite common practice, especially while in development phase.
That is why I believe we should fix this bug as soon as possible, to make life of developers easier.
Reference of a similar bug, which was however more Snappy specific:
https:/
description: | updated |
description: | updated |
summary: |
- Apparmor profiles not updated after deploying an app without increasing - its version + Updating the apparmor manifest and deploying the new code without + increasing the version does not trigger apparmor profile update on the + device. |
summary: |
Updating the apparmor manifest and deploying the new code without - increasing the version does not trigger apparmor profile update on the + increasing app version does not trigger apparmor profile update on the device. |
Changed in canonical-devices-system-image: | |
status: | New → Confirmed |
assignee: | nobody → Jamie Strandboge (jdstrand) |
Changed in canonical-developer-experience: | |
assignee: | nobody → Alejandro J. Cura (alecu) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Status changed to 'Confirmed' because the bug affects multiple users.