Create a snap of apport for Ubuntu Core

Registered by Brian Murray on 2017-03-17

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:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Brian Murray
Direction:
Needs approval
Assignee:
Brian Murray
Definition:
Drafting
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Whiteboard

(?)

Work Items

Work items for ubuntu-17.03:
[brian-murray] Test retracing a crash from a core package: TODO
[brian-murray] Have snap revert /proc changes on removal: TODO
[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/kernel/core_pattern: DONE
Have snap set /proc/sys/fs/suid_dumpable: DONE
Create a skeleton snap backend (similar to apt-dpkg): DONE
Improve snap backend for apport: TODO
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

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.