I’m having some issues executing ping
within a snap. For context, I have a program called gping
that executes ping
and produces a console graph of it.
I’ve managed to bundle it inside a snap, but executing ping
errors with “icmp open socket: Permission denied”. Has anyone got any idea of how to work around this?
For reference, this is my snapcraft.yml: https://github.com/orf/gping/blob/master/snapcraft.yaml
Popey in this issue (https://github.com/orf/gping/issues/41#issuecomment-319924287) says " it seems the ping executable has a sticky bit which breaks inside snap.".
A broken version showing this can be installed with snap install --edge gping --revision 9