← Back to team overview

touch-packages team mailing list archive

[Bug 1449769] Re: Update apparmor python utils to 2.9.2 version in trusty

 

This will have been addressed in wily in apparmor 2.9.2-0ubuntu1.
Attached is the (large) patch to update the python utils in trusty to
the 2.9.2 version as part of an SRU.

** Patch added: "utils-update_to_2.9.2.patch"
   https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1449769/+attachment/4399562/+files/utils-update_to_2.9.2.patch

** Description changed:

- Update the python apparmor utils in 14.04 to the version in the upstream
- 2.9.2 release.
+ [impact]
  
  Leading up to the release of 14.04, we decided to pull in a pre-release
  version of the python utils, because we did not want to continue
  supporting the out of date perl tools for the 5 years of the 14.04
- release support lifetime. There were a number of issues with the python
- tools that have subsequently been addressed by upstream releases, as
- well as the addition of a significant number of tests.
+ release support lifetime. There were a number of issues with the
+ python tools that prevent users from using them effectively that
+ have subsequently been addressed by upstream releases, as well as
+ the addition of a significant number of tests.
+ 
+ Specific bugs that should be addressed by this include:
+ bug 1294797: aa-genprof traceback with apparmor 2.8.95
+ bug 1319829: aa-genprof will crash when selecting scan 
+ bug 1317176: aa-logprof attempts to read program binary instead of profile
+ bug 1324154: aa-logprof is trying to process a binary instead of the profile
+ bug 1310598: AppArmor python tools fail to parse mounts with UTF-8 non-ascii characters
+ 
+ [steps to reproduce]
+ 
+ 1) attempt to use the aa-genprof/aa-logprof to generate or update policy
+ 
+ [regression potential]
+ 
+ It's possible that the simple management tools, aa-enforce,
+ aa-complain, and aa-disable could be broken by this
+ large update. However, the test-apparmor.py script from
+ lp:qa-regression-testing attempts to exercise those scripts
+ to ensure they still function. Regressions could be introduced
+ in aa-genprof and aa-logprof, but they would need to be pretty
+ substantial to outweigh the improvement in quality that the 2.9.2
+ tools represent. Furthermore, a number of testcases have been added
+ (and again are driven by lp:qa-regression-testing) to try to prevent
+ the introduction of regressions.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1449769

Title:
  Update apparmor python utils to 2.9.2 version in trusty

Status in apparmor package in Ubuntu:
  In Progress

Bug description:
  [impact]

  Leading up to the release of 14.04, we decided to pull in a pre-release
  version of the python utils, because we did not want to continue
  supporting the out of date perl tools for the 5 years of the 14.04
  release support lifetime. There were a number of issues with the
  python tools that prevent users from using them effectively that
  have subsequently been addressed by upstream releases, as well as
  the addition of a significant number of tests.

  Specific bugs that should be addressed by this include:
  bug 1294797: aa-genprof traceback with apparmor 2.8.95
  bug 1319829: aa-genprof will crash when selecting scan 
  bug 1317176: aa-logprof attempts to read program binary instead of profile
  bug 1324154: aa-logprof is trying to process a binary instead of the profile
  bug 1310598: AppArmor python tools fail to parse mounts with UTF-8 non-ascii characters

  [steps to reproduce]

  1) attempt to use the aa-genprof/aa-logprof to generate or update
  policy

  [regression potential]

  It's possible that the simple management tools, aa-enforce,
  aa-complain, and aa-disable could be broken by this
  large update. However, the test-apparmor.py script from
  lp:qa-regression-testing attempts to exercise those scripts
  to ensure they still function. Regressions could be introduced
  in aa-genprof and aa-logprof, but they would need to be pretty
  substantial to outweigh the improvement in quality that the 2.9.2
  tools represent. Furthermore, a number of testcases have been added
  (and again are driven by lp:qa-regression-testing) to try to prevent
  the introduction of regressions.

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


References