[Bug 1553797] Re: Provide a way to Update AppArmor rules for click tests only once
Martin Pitt
martin.pitt at ubuntu.com
Fri Mar 11 10:58:11 UTC 2016
I'm confused, what does this have to do with deb installation? The
apparmor rule hackery never affected "real" system installation of debs,
and the blanket /tmp/adt-run.** pattern should apply to all subsequent
temp location installs.
These apparmor rules should apply to click packages (only), not to debs.
So do you mean that with this approach /var/cache/apparmor/click-
ap.rules does not apply to clicks which are installed *after* creating
that file? That indeed would sound like a bug in Apparmor itself as
surely a newly installed click package should cause its own profile to
be generated on installation?
Can you please be more specific and detailled what the remaining problem
is after calling apparmor-rules-update-lite? (Btw, this can be
dramatically simplified, but that can happen later).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1553797
Title:
Provide a way to Update AppArmor rules for click tests only once
Status in autopkgtest package in Ubuntu:
New
Bug description:
We use autopkgtest in ubuntu-system-tests project to run those tests
on the touch device. While developing the tests, it becomes a bit of a
challenge to run the tests as it takes a few moment to update AppArmor
rules for click.
As part of profiling for ubuntu-system-tests, we found it takes more
than a minute each time to update AppArmor rules. So we probably need
some kind of parameter to adt-run to not delete the
/var/cache/apparmor/click-ap.rules file after running tests.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1553797/+subscriptions
More information about the foundations-bugs
mailing list