Policy doesn't update when installing Snappy app with same version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
click-apparmor (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I tried to build snap package for Ubuntu Snappy build for Beagle Bone Black. I make this package for IoT device, it contains AllJoyn ( https:/
After first attempt I've got this message:
[ 499.786552] audit: type=1400 audit(142175493
Then I've added line to profile:
unix (create,
rebuild the snap, call 'snappy-remote install', but this message still appears. I even removed profile file in /var/lib/
Only after complete snap removal(snappy uninstall) and clean install this message disappear.
information type: | Private Security → Public |
Thank you for using Ubuntu and filing a bug. I'm guessing you didn't rev the version and instead installed the same version. There is a limitation in 'click' (the underlying packaging tool that is being replaced) that makes it not run its hooks when installing a package with the same version. If you are using the normal confinement ("apparmor" is used in the underlying click manifest), then you can workaround this by performing the following after installing a package with the same version:
$ sudo aa-clickhook -f
If you are supplying your own profile ("apparmor-profile" is used in the underlying click manifest), then you can workaround this by performing the following after installing a package with the same version:
$ sudo aa-profile-hook -f
Also, Is there any reason for this bug to be private?