On Tue, Mar 28, 2017 at 01:07:59AM +0200, Michał Sawicz wrote:
> 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: https://bugs.launchpad.net/snapd/+bug/1661126 .
> 
> Shouldn't that get cleaned up on daemon stop in this case, though?

In my particular case the daemon is not a long running one and using
stop-command ended up immediately reverting the change in /proc.

--
Brian Murray

Attachment: signature.asc
Description: PGP signature

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to