Oh, I didn't give all the steps on recreating your snap and running the
tests (not sure how that happened). For posterity:

$ sudo apt-get install snapcraft
$ sudo unsquashfs /var/lib/snapd/snaps/snappy-tests_100001.snap # unpack
$ sudo chown -R jamie:jamie ./squashfs-root
$ vi ./squashfs-root/command-snappy-tests.wrapper # fix the wrapper
adjust to be:
export GOPATH=$SNAP_USER_DATA/go
mkdir "$GOPATH"
$ vi ./squashfs-root/snap.yaml # rev the version
adjust version to be: 0.1+jdstrand1
$ snapcraft snap ./squashfs-root # resquash
$ sudo snap remove snappy-tests # just be doubly sure we start from a clean 
state
$ sudo snap install --devmode ./snappy-tests_0.1+jdstrand1_amd64.snap # install

$ snappy-tests -check.f homeInterfaceSuite

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1579135

Title:
  kernel BUG on snap disconnect from within a snap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1579135/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to