confinement failure when uploading to store

Jamie Strandboge jamie at
Mon Jun 13 12:57:45 UTC 2016

On Mon, 2016-06-13 at 19:20 +0800, Woodrow Shen wrote:
> Hi all,
> I have one simple problem about uploading kernel snap to store as I used
> snapcraft to create my kernel snap. I got the following error after the
> upload was done:
> 'confinement' should only be specified with 'type: app'
> lint-snap-v2_confinement_valid
> But 'confinement' flag will be added by snapcraft automatically, if I don't
> do that manually. So is it expected for this behavior ?

This sounds like a bug in snapcraft (I've CC'd Sergio to be sure). The
confinement flag only makes sense in the context of app snaps AFAIK, so
snapcraft shouldn't be adding it to kernel snaps.

Jamie Strandboge             |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Snapcraft mailing list