On Sun, 2017-03-19 at 11:50 -0300, Tiago Herrmann wrote:

...

> 1) Asterisk running fine right after snap installation, but failing
> afterwards.
> After a lot of debugging I figured asterisk was crashing with SIGSYS,
> and found that the asterisk binary tries to call chown(), setgid() and
> other syscalls that are only allowed during installation (which
> explains the behavior I was seeing). My workaround was to add these
> calls to the snacraft-preload part that Sergio wrote and preload
> asterisk with it. These calls always return success for now just to
> keep asterisk happy. If you guys know a better way to workaround it, I
> would be happy to remove this hack.

This is https://bugs.launchpad.net/snapcraft/+bug/1617314 and is progress to
allow use of the 'daemon' user and group. Also, per-snap users and groups is
covered in https://bugs.launchpad.net/snappy/+bug/1606510 (but I don't know the
priority of that work).

-- 
Jamie Strandboge             | http://www.canonical.com

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft
  • FreePBX snap Tiago Herrmann
    • Re: FreePBX snap Jamie Strandboge

Reply via email to