*** This bug is a duplicate of bug 1350598 ***
https://bugs.launchpad.net/bugs/1350598
The duplicate status is not wrong but the information in that bug is
dense. Please read it for a more in depth answer
1. a simple change does not necessarily cause all policy to be
recompiled. Only policy that is dependent on the change is recompiled.
2. Yes policy compilation can be sped up. There have been a steady
stream of improvements, but the low hanging fruit has been fixed. So do
not expect dramatic improvements any time soon.
3. Policy compile does not have to be done at boot, it can be done at
update time or when an application is launched, and for policy that is
part of a system update on the server as part of the image build.
However moving compile to application launch time would slow down
application launch further which is already considered slow.
--
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/1551642
Title:
First boot slow after profile change
Status in apparmor package in Ubuntu:
Confirmed
Bug description:
Apparently, after a change is made to an apparmor profile, the first
boot of the phone after an update is really slow because all profiles
for all applications are compiled up-front, and that process is slow.
This current affects our ability to make a simple change:
https://code.launchpad.net/~michihenning/apparmor-easyprof-ubuntu/new-
thumbnailer-methods
This situation isn't great. If the concern about the boot speed is so
large that it prevents us from structuring our software they way we
need it, we have things the wrong way around, IMO.
Would it be possible to make the compilation process faster instead?
For example, compile the profiles lazily, when an application is first
started, instead of doing it all up-front? Or maybe simply make the
tool faster?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1551642/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp