On Mon, 2017-02-06 at 14:04 -0500, MikeB wrote:
> In my snapcraft.yaml, I define a oneshot daemon.
> 
> 
>   opx-init:
>     command: usr/bin/opx-init
>     daemon: oneshot
> 
> When I install the snap on Ubuntu-Core, I see the following in the syslog...
> 
> Feb  6 18:46:49 localhost systemd[1]:
> snap.openswitch-x870.opx-init.service: Service has Restart= setting
> other than no, which isn't allowed for Type=oneshot services.
> Refusing.
> 
> Can anyone explain what is going wrong?  I expect Snapcraft/Snapd to
> handle the systemd interactions behind the scenes...
> 

You are right, snapd should handle this properly but at the moment it doesn't.
This is this bug:
https://bugs.launchpad.net/snappy/+bug/1647169

Perhaps Jamie Bennett or someone from the Snappy team could comment on its
status?

-- 
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

Reply via email to