"ERROR: Invalid policy version" when generating apparmor profiles
Jamie Strandboge
jamie at canonical.com
Mon Jun 8 13:36:31 UTC 2015
On 06/07/2015 03:13 PM, Bjorn Tillenius wrote:
> Hi,
>
> I'm trying to build a snap for Ubuntu Core on a Raspberry Pi2. I'm using
> the image lool generated here:
>
> http://people.canonical.com/~lool/pi2-device-and-oem/
>
> I've built a simple snap using this package.yaml:
>
> name: piglow-examples
> vendor: Björn Tillenius <bjorn at tillenius.me>
> architecture: armhf
> version: 0.2
> binaries:
> - name: bin/linux_arm/disco
> caps: []
>
> After installing it, I get this error:
>
> aa-exec: ERROR: profile 'piglow-examples_disco_0.2' does not exist
>
> If I run 'sudo aa-clickhook -f', I get this error:
>
> ERROR: Invalid policy version for 'piglow-examples_disco_0.2.json'. Skipping
>
> I also tried installing pastebinit.mvo from the store, and that fails
> with the same problem.
>
> Can someone please explain what's going on here?
What is the output of 'system-image-cli -i'? What is the output of 'cat
/apps/piglow-examples*/current/meta/disco.apparmor'?
--
Jamie Strandboge http://www.ubuntu.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20150608/79f7a464/attachment.pgp>
More information about the snappy-app-devel
mailing list