Cleaning up on snap removal

Kyle Fazzari kyle.fazzari at canonical.com
Mon Mar 27 22:56:26 UTC 2017


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: https://bugs.launchpad.net/snapd/+bug/1661126 .

-- 
Kyle Fazzari (kyrofa)
Software Engineer
Canonical Ltd.
kyle at canonical.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170327/3db00062/attachment.sig>


More information about the Snapcraft mailing list