← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1214618] Re: apparmor policy_version is incorrectly set

 

This bug was fixed in the package click-apparmor - 0.1.4

---------------
click-apparmor (0.1.4) saucy; urgency=low

  [ Steve Beattie ]
  * aa-clickhook: output to stdout instead of stderr if no output file
    is specified.

  [ Jamie Strandboge ]
  * add support for abstractions, read_paths and write_paths. These are not
    generally allowed in the Ubuntu app store, but will be handled via the
    review process.
  * fix a few error strings
  * policy_version is JSON Number, not string
  * add some more policy_version tests
  * Qt json outputs 1.0 as 1. Account for that in our transmogrification to
    easyprof (LP: #1214618)
 -- Jamie Strandboge <jamie@xxxxxxxxxx>   Thu, 22 Aug 2013 12:15:02 -0500

** Changed in: click-apparmor (Ubuntu Saucy)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator in Ubuntu.
https://bugs.launchpad.net/bugs/1214618

Title:
  apparmor policy_version is incorrectly set

Status in “click-apparmor” package in Ubuntu:
  Fix Released
Status in “qtcreator” package in Ubuntu:
  Won't Fix
Status in “click-apparmor” source package in Saucy:
  Fix Released
Status in “qtcreator” source package in Saucy:
  Won't Fix

Bug description:
  The click manifest uses the following for policy_version:
                  "policy_version": 1

  This is invalid and the quick fix is to change this to:
                  "policy_version": 1.0

  The proper fix is that qtcreator should look for the highest version
  found in /usr/share/apparmor/easyprof/policygroups/ubuntu and use it.

  This could be extended to make is easier for users by performing:
  $ aa-easyprof --list-policy-groups --policy-vendor=ubuntu --policy-version=<highest version>

  to enumerate the policy groups and then shoving them into a combobox
  for users to use.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click-apparmor/+bug/1214618/+subscriptions