group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #03804
[Bug 1581097] Re: click-apparmor does not properly calculate the policy version with 15.10 policy
This bug was fixed in the package click-apparmor - 0.3.14
---------------
click-apparmor (0.3.14) yakkety; urgency=medium
* src/apparmor/click.py: adjust _ubuntu_transform() to handle .10 releases
of Ubuntu (LP: #1581097)
-- Jamie Strandboge <jamie@xxxxxxxxxx> Thu, 12 May 2016 12:08:07 -0500
** Changed in: click-apparmor (Ubuntu Yakkety)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1581097
Title:
click-apparmor does not properly calculate the policy version with
15.10 policy
Status in click-apparmor package in Ubuntu:
Fix Released
Status in click-apparmor source package in Xenial:
Triaged
Status in click-apparmor source package in Yakkety:
Fix Released
Bug description:
[Impact]
* aa-clickhook fails with wily frameworks because of this: apparmor.easyprof.AppArmorException: "Could not find templates directory '/usr/share/apparmor/easyprof/templates/ubuntu/15.1'". It is reading the json 15.10 number for policy version as 15.1.
* This needs to be in 16.04 because 15.10 frameworks exist in the xenial staging images for Touch and apps using 15.10 click frameworks won't work on xenial Touch images without it
* The fix is in the ubuntu transform, if the policy vendor is 'ubuntu' and the policy version is > 15 and the policy version ends with .1, append a '0'. This is valid because in 15.10 and later Touch policy uses the Ubuntu release as the policy version. Previous policy versions operate how they always did (and the testsuite makes sure of that).
[Test Case]
* Use the apparmor-easyprof-ubuntu image tests as detailed in https://wiki.ubuntu.com/Process/Merges/TestPlans/ClickAppArmor. When it starts going through 15.10 policy, there are various failures
[Regression Potential]
* regression potential is low since the changes are for frameworks that are only available in images that no one currently uses
* fixed in yakkety which passes https://wiki.ubuntu.com/Process/Merges/TestPlans/ClickAppArmor
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click-apparmor/+bug/1581097/+subscriptions
References