Comment 5 for bug 1579135

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: kernel BUG on snap disconnect from within a snap

I cannot reproduce with the following:

$ mkdir /tmp/cache
$ tar -zxvf ./profiles.tgz
$ cd profiles
$ while /bin/true ; do sudo apparmor_parser --replace --write-cache -O no-expr-simplify --cache-loc=/tmp/cache ./* ; done

The above apparmor_parser options are what snapd uses (see interfaces/apparmor/apparmor.go).

$ cat /proc/version_signature
Ubuntu 4.4.0-21.37-generic 4.4.6

Paul, are you able to reproduce this issue when running the above on the system in question? Perhaps you can also include tarballs for /etc/apparmor.d and /etc/apparmor.d/cache?