← Back to team overview

touch-packages team mailing list archive

[Bug 1484178] Re: Policy cache file mtimes are not being set correctly

 

This bug was fixed in the package apparmor - 2.10-0ubuntu3

---------------
apparmor (2.10-0ubuntu3) wily; urgency=medium

  * debian/patches/parser-fix-cache-file-mtime-regression.patch: Fix a bug
    that resulted in the mtime of generate policy cache files to be set
    incorrectly. The mtime of cache files should be the newest mtime detected
    on the profile and abstraction files used to generate the policy cache
    file. However, the bug caused the mtime of the policy cache file to either
    not be updated or to be updated to an incorrect time. (LP: #1484178)
  * debian/patches/parser-verify-cache-file-mtime.patch: Add tests to verify
    that the policy cache file's mtime is being set correctly and that cache
    handling is correct when the profile or abstraction files are newer than
    the policy cache file.
  * debian/patches/parser-run-caching-tests-without-apparmorfs.patch,
    debian/patches/parser-do-cleanup-when-test-was-skipped.patch: Enable the
    caching tests to run on the buildds even though apparmorfs isn't mounted.

 -- Tyler Hicks <tyhicks@xxxxxxxxxxxxx>  Wed, 12 Aug 2015 13:01:56 -0500

** Changed in: apparmor (Ubuntu)
       Status: Confirmed => Fix Released

-- 
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/1484178

Title:
  Policy cache file mtimes are not being set correctly

Status in AppArmor:
  Fix Committed
Status in apparmor package in Ubuntu:
  Fix Released

Bug description:
  Oliver Grawert (ogra) reported that Ubuntu Touch image builds were
  failing due to incorrect timestamps on pre-compiled policy cache
  files.

  Starting in AppArmor 2.10, the policy cache file's mtime was meant to be updated to be equal to the newest mtime detected
  on the profile and abstraction files used to generate the policy cache file:

    http://bazaar.launchpad.net/~apparmor-
  dev/apparmor/master/revision/3079

  That change was not correct and resulted in the mtime of the policy
  cache file to either not be updated (equal to the policy cache file
  creation time) or to be updated to an incorrect time.

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


References