** Description changed: - 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. + [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 exists in the xenial staging images for Touch and apps using 15.10 click frameworks won't work on xenial Touch images without it + * The 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 do (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 not in use on images that no one uses yet + * fixed in yakkety which passes https://wiki.ubuntu.com/Process/Merges/TestPlans/ClickAppArmor
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to click-apparmor in Ubuntu. 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 Committed Status in click-apparmor source package in Xenial: Triaged Status in click-apparmor source package in Yakkety: Fix Committed 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 do (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 not in use on images that no one uses yet * 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp