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

2017-11-28 Thread Matthew Paul Thomas
** No longer affects: ubuntu-ux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1385410 Title: hook into system-image updates to precompile policy prior to reboot To manage notifications about this

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

2016-05-13 Thread Matthew Paul Thomas
It’s good to have a more precise estimate of (i) recompilation time. If/when we also get measurements for (ii) how long a restart usually takes, and (iii) how long flashing usually takes, I’ll update the specified progress bar allocation. -- You received this bug notification because you are a

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

2016-05-12 Thread Jamie Strandboge
FYI, more discussion of this topic is in https://bugs.launchpad.net/ubuntu/+source/click-apparmor/+bug/1350598. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1385410 Title: hook into system-image

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

2016-05-12 Thread Jamie Strandboge
Note that the "15 minutes or more" is no longer the case and has not been for a long time. AppArmor policy compilation for 150 profiles or so should be in the 2-3 minute range (obviously, we still need feedback for the user). -- You received this bug notification because you are a member of

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

2015-07-05 Thread Matthew Paul Thomas
Specification updated. https://wiki.ubuntu.com/SoftwareUpdates?action=diffrev2=202rev1=200 ** Changed in: ubuntu-ux Status: In Progress = Fix Committed ** Description changed: Occasionally users will receive and OTA update that requires apparmor policy to be recompiled. Recompiling

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

2015-07-05 Thread Matthew Paul Thomas
In the absence of any data, other than the fifteen minutes or more and even up to 30 minutes statements, I've specified that recompiling AppArmor profiles should take up the first 45% of the progress bar. If we can be smarter about that, then great: - An improvement would be to match the average

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

2015-07-03 Thread Matthew Paul Thomas
** Changed in: ubuntu-ux Status: Triaged = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1385410 Title: hook into system-image updates to precompile policy prior to reboot To

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

2015-06-16 Thread Matthew Paul Thomas
** Description changed: 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

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

2015-06-01 Thread Matthew Paul Thomas
** Changed in: ubuntu-ux Status: Incomplete = Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1385410 Title: hook into system-image updates to precompile policy prior to reboot To

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

2015-05-05 Thread Seth Arnold
I'm sorry this was overlooked for so long. A. Is it practical to use the device while precompilation is happening in the background? It Depends. We have some options in how aggressively we use system resources, but probably even compiling one-at-a-time with a nice value will definitely feel

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

2014-11-30 Thread Olga Kemmet
** Changed in: ubuntu-ux Assignee: (unassigned) = Matthew Paul Thomas (mpt) ** Changed in: ubuntu-ux Status: New = Triaged ** Summary changed: - hook into system-image updates to precompile policy prior to reboot + [system updates] hook into system-image updates to precompile policy

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

2014-10-30 Thread Jamie Strandboge
We figured out a way to be able to do it before reboot, and this is something that is needed for systemd and helps usability of traditional apt systems in addition to system-image systems. The idea is there are no extra steps for the user to go through, but yes the idea is there would be a

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

2014-10-29 Thread Michał Sawicz
I'm feeling the best we could do is actually doing it on first boot after OTA, but make sure that we show a different splash screen while this is happening. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

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

2014-10-29 Thread Jamie Strandboge
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

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

2014-10-29 Thread Michał Sawicz
I'm not actually sure how you can compile them before reboot (so before the update was applied), but if you say that's possible, I'm sure we can think of something. We should probably stop the session straight away and display a progress spinner akin to the one in recovery. I just want to try and

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

2014-10-28 Thread Jamie Strandboge
Not really-- it was determined at the sprint that the recovery doesn't have enough available to do this properly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1385410 Title: hook into system-image

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

2014-10-24 Thread Michał Sawicz
Would it be at all possible to do this in recovery? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1385410 Title: hook into system-image updates to precompile policy prior to reboot To manage