Cleaning up on snap removal

Michał Sawicz michal.sawicz at
Mon Mar 27 23:07:59 UTC 2017

W dniu 28.03.2017 o 00:56, Kyle Fazzari pisze:
> On 03/27/2017 03:47 PM, Brian Murray wrote:
>> I'm working on a snap of apport and when it is installed a daemon is run
>> that modifies "/proc/sys/kernel/core_pattern". How can I modify that
>> file back to what it originally was when the snap is removed?
> That sounds like the justification behind a feature request for an
> uninstall hook: .

Shouldn't that get cleaned up on daemon stop in this case, though?

Michał Sawicz <michal.sawicz at>
Canonical Ltd.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Snapcraft mailing list