← Back to team overview

touch-packages team mailing list archive

[Bug 1385410] Re: hook into system-image updates to precompile policy prior to reboot

 

This happens during the 'Google' logo on boot after flash and I'm told
there is no way to provide progress during this point. For traditional
apt based systems we will be employing a similar technique as outlined
in this bug-- during postinst we compile policy as needed so the user is
free to use the system while this is happening.

For system-image based systems, why is it not acceptable to compile the
policy prior to reboot? It provides a lot of flexibility (we can choose
to do this in the background if the image is already downloaded), it can
provide progress feedback easily and it allow the user to use another
app while the compile is happening.

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

Title:
  hook into system-image updates to precompile policy prior to reboot

Status in Ubuntu UX bugs:
  New
Status in “click-apparmor” package in Ubuntu:
  Confirmed
Status in “unity8” package in Ubuntu:
  New

Bug description:
  Occasionally users will receive and OTA update that requires apparmor
  policy to be recompiled. Recompiling apparmor policy can take quite a
  bit of time (minutes) depending on how many applications the user has
  installed. While this is only expected to happen on major OTA OS
  upgrades (eg, 14.10 to 15.04), it is possible it could happen at other
  times. This would improve the user experience for developers
  considerably since policy recompiles can be relatively frequent when
  running the development release.

  To improve the user experience, we should detect and recompile
  apparmor profiles prior to reboot but after system-image updates has
  downloaded the new update. This always for the possibility of using a
  progress meter when compiling policy (which we currently cannot).
  Needs design input for when to do it and how the progress meter should
  look.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ux/+bug/1385410/+subscriptions


References