Create a snap of apport for Ubuntu Core
A snap of apport should be created which will create apport formatted crash reports of crashes on Ubuntu Core. This will included crashes from packages in the core image, or crashes from other snaps. The crash reports can then be manually retraced by developers with the debug symbols of the snaps.
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Brian Murray
- Direction:
- Needs approval
- Assignee:
- Brian Murray
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Good progress
- Milestone target:
- None
- Started by
- Brian Murray
- Completed by
Related branches
Related bugs
Bug #1661126: Add One-shot Install/Uninstall Hook | Fix Released |
Bug #1674847: produce package lists for Ubuntu Core versions on the web | Expired |
Sprints
Whiteboard
Work Items
Work items for ubuntu-17.05:
[brian-murray] Decide how to handle whoopsie integration: TODO
[brian-murray] Document how to retrace a crash: TODO
[brian-murray] Produce a stripped down Contents.gz using dpkg.list: DONE
[brian-murray] Sort out using hooks in /usr/share/
[brian-murray] Resolve crash with ui not being available for package-hooks: TODO
Work items for ubuntu-17.04:
[brian-murray] Cram full Contents.gz in snap / test package look-up: DONE
[brian-murray] Put apport in the store: DONE
[brian-murray] Determine how to distinguish between a snap crash and a package crash: DONE
[brian-murray] Improve snap backend for apport: DONE
[brian-murray] Test retracing a crash from a core package: DONE
[brian-murray] Test generating a core file for another snap: DONE
Work items for ubuntu-17.03:
[brian-murray] Have snap revert /proc changes on removal: BLOCKED
[brian-murray] Fix "Core" getting stripped out of DistroRelease: DONE
[brian-murray] Ensure apport hooks get run on Ubuntu Core: DONE
[brian-murray] Include "dpkg.list" in created .crash file: DONE
[brian-murray] Include snap --version output in crash report: DONE
[brian-murray] Report bug regarding snappy manifest files: DONE
[brian-murray] Test / sort apport logging: DONE
[brian-murray] Investigate uec-images tag in report: DONE
[brian-murray] Override ubuntu hook space checks: DONE
Work items:
Have snap modify /proc/sys/
Have snap set /proc/sys/
Create a skeleton snap backend (similar to apt-dpkg): DONE
Set APPORT_LOG_DIR for the snap: DONE
Set APPORT_CRASHDB_CONF for the snap: DONE
Set APPORT_REPORT_DIR to something writable: DONE
Email snappy mailing list re python crashes: TODO
Create a service to clean out .crash files: DONE
Test killing a snap application to see if a .crash file is created: DONE
Test apport in strict mode: DONE
Sort out denials when snap is in strict mode: TODO
Switch to using $SNAP env variables: BLOCKED
Determine if package-hooks on Ubuntu Core get used: DONE