snap-repair: add `snap-repair run` #3226

Closed
wants to merge 18 commits into
from

Conversation

Projects
None yet
2 participants
Collaborator

mvo5 commented Apr 24, 2017

This outlines the snap-repair run command as discussed in https://forum.snapcraft.io/t/repair-capability-emergency-fixes/311

Based on #3211

With comments from #3221

mvo5 added some commits Apr 24, 2017

@mvo5 mvo5 changed the title from snap-repair: add `snap-repair run` #3221 to snap-repair: add `snap-repair run` Apr 24, 2017

mvo5 added some commits Apr 24, 2017

+
+// FIXME: bypass the assertion DB entirely and collect all repair
+// bits in /var/lib/snapd/repair/
+// FIXME: create a copy of the critical assertion code to protect
@zyga

zyga May 9, 2017

Contributor

I think that we should treat repair code change as a bootloader update. We should not do it unless we actually want to. It should not be automatically done whenever we change snapd itself. It should be extensively tested automatically as well as manually and only updated if we found an issue that needs addressing. The risk of just rebuilding this from the varying code all the time is that, as our last line of defence, it will fail us in the only moment where it needs to work.

mvo5 added some commits May 10, 2017

Collaborator

mvo5 commented May 23, 2017

Closing for now as this will need some rework for the latest changes in the forum discussion.

@mvo5 mvo5 closed this May 23, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment