I'm building a new image using recent ubuntu-device-flash from here https://people.canonical.com/~mvo/all-snaps/
+ sudo /home/vagrant/ubuntu-device-flash core rolling --channel edge --enable-ssh --developer-mode --gadget canonical-pi2.canonical --kernel canonical-pi2-linux.canonical --os ubuntu-core.canonical -o snappy-2016-03-25-01-17.img
Determining gadget configuration
5.83 MB / 5.83 MB [===================================] 100.00 % 457.07 KB/s 13s
48.38 MB / 48.38 MB [=================================] 100.00 % 472.46 KB/s 1m44s
Installing canonical-pi2.canonical
5.83 MB / 5.83 MB [===================================] 100.00 % 661.54 KB/s 9s
Installing canonical-pi2-linux.canonical
74.79 MB / 74.79 MB [=================================] 100.00 % 428.40 KB/s 2m58s
Installing ubuntu-core.canonical
48.38 MB / 48.38 MB [=================================] 100.00 % 332.22 KB/s 2m29s
Enabling developer mode...
New image complete
Summary:
Output: snappy-2016-03-25-01-17.img
Architecture: armhf
Channel: edge
Version: 0
and getting this error:
ubuntu@localhost:~$ sudo snappy install hello-world
Installing hello-world
20.00 KB / 20.00 KB [==================================] 100.00 % 116.82 KB/s
Name Date Version Developer
canonical-pi2 2016-03-23 3.2 canonical
canonical-pi2-linux 2016-03-21 4.4.0-1004-raspi2+20160321.17-52 canonical
hello-world 2016-03-11 6.0 canonical
ubuntu-core 2016-03-21 16.04+20160321.17-37 canonical
ubuntu@localhost:~$ hello-world.env
seccomp_load failed with -22
seccomp_load_filters failed with -22. errmsg: Invalid argument
The same error I get when using images from
http://cdimage.ubuntu.com/ubuntu-core/daily-preinstalled/current/
Downgrading ubuntu- core-launcher does not fix the issue.