apparmor changes caused boot speed regression

Bug #954469 reported by Steve Magoun
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Fix Released
High
John Johansen

Bug Description

This is a follow-on to bug 949891, which is marked 'Fix Released'. I don't have permission to reopen that bug, so I'm filing a new one.

Boot times are still significantly slower than they were with Precise alpha 2. Recent bootcharts show that apparmor_parser is a culprit

http://reports.qa.ubuntu.com/reports/boot-speed/acer-veriton-01/index.html
http://reports.qa.ubuntu.com/reports/boot-speed/acer-veriton-02/2012-03-12_07-43-17/bootchart.png

Assuming that the bootspeed tests are pulling the latest code and are therefore accurate, the fixes in apparmor 2.7.100-0ubuntu1 don't seem to be sufficient to fix the regression.

Related branches

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Yeah, that still looks busted.

tags: added: apparmor
Changed in apparmor (Ubuntu):
status: New → Confirmed
milestone: none → ubuntu-12.04-beta-2
assignee: nobody → Ubuntu Security Team (ubuntu-security)
tags: added: rls-p-tracking
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

The problem is that newer kernel use a directory hiearchy to describe the apparmor kernel features, but /lib/apparmor/functions assumes the old flat file style is available. Therefore, the check if the kernel features are the same always fails and the cache is invalidated, and therefore on boot it is regenerated every time.

Changed in apparmor (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
assignee: Ubuntu Security Team (ubuntu-security) → John Johansen (jjohansen)
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apparmor - 2.7.101-0ubuntu1

---------------
apparmor (2.7.101-0ubuntu1) precise; urgency=low

  * New upstream release. Fixes: LP: #948147
  * debian/lib/apparmor/functions: Update to support the feature directory so
    that caching will work on kernels that support the feature dir. Patch
    based on work from John Johansen. LP: #954469
 -- Jamie Strandboge <email address hidden> Thu, 15 Mar 2012 15:57:02 -0500

Changed in apparmor (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.