[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
could you try reproducing with the kernel in http://people.canonical.com/~jj/linux+jj/ -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
Bug #1581990 looks to be the same kernel trace. -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
@jdstrand: but it is still not reliable, I tried the above steps in a fresh VM without success (no crashes, no oops). -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
@jdstrand I was able to reproduce it today with the lines in https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1579135/comments/22. And Ondra hit the issue today as well. -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
Annoying-- it happened to 3 people today but still no reliable reproducer. ** Changed in: apparmor (Ubuntu) Status: New => Incomplete -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
It seems like its not trivial to reproduce still, I tried: # snap remove ubuntu-device-flash || true # snap install --beta --devmode ubuntu-device-flash # snap refresh --edge --devmode ubuntu-device-flash which upgrades from r3->r5 (note that its the default profile anyway so it should not matter). However i can not reproduce it (anymore). -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
@Michael - can you attach the snap of the version you upgraded from as well as to? I suspect the reproducer becomes: $ sudo snap install --devmode /path/to/previous/udf $ sudo snap install --devmode /path/to/updated/udf Do we need to do something like this instead? (not sure what a fetch from the store would matter): $ sudo snap install ubuntu-device-flash --channel=beta # ie, the previous snap $ sudo snap install ubuntu-device-flash --channel=edge # ie, the new snap Michael, can you confirm (one of) the reproducer(s)? -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
** Changed in: apparmor (Ubuntu) Status: Incomplete => New -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
For me it happend today as well. It happend when I upgraded a devmode snap to a new version of a devmode snap (ubuntu-device-flash in particular). It also happend to ogra with the same snap (but a different upgrade path). U-d-f is not using any plugs or slots, just the default policy. -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
Unfortunately no, I mentioned earlier that I'm no longer able to reproduce the problem but John said nothing went in that should have fixed it. I'll leave it up to you guys if you'd like to invalidate it or keep it open, but for me it is now unreproducible. :( -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
Hi Paul - Any chance that you can help with the additional info requested by John? Thanks! -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
Is the snap removed and then reinstalled? Has this been triggered just by running the snap? When was the kernel rebooted since the snap was installed? Since the snap was removed? ... -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
I have been unable to trigger this bug can you please provide more information? -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
I'll keep running to see if I can reproduce it again. -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
No, which means its a race of some kind -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
Strange, I rebuilt the snap today, built a new amd64 snappy image, and ran through all the tests in kvm twice with no crash. Did something go in that could have fixed it? -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
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_11.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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
In my first attempt I didn't use --devmode. However, I can't seem to make the snap work in a xenial amd64 VM. I tried the original snap with: $ sudo snap install --devmode ./snappy-tests_0.1_amd64.snap $ snappy-tests -check.f homeInterfaceSuite ... ... Error reading config: open integration-tests/data/output/testconfig.json: no such file or directory I then created a new snap with: $ sudo apt-get install snapcraft $ sudo unsquashfs /var/lib/snapd/snaps/snappy-tests_11.snap $ sudo vi ./squashfs-root/command-snappy-tests.wrapper adjust to be: export GOPATH=$SNAP_USER_DATA/go mkdir "$GOPATH" $ adjust ./squashfs-root/snap.yaml adjust version to be: 0.1+jdstrand1 $ sudo snap install --devmode ./snappy-tests_0.1+jdstrand1_amd64.snap sudo systemctl stop snappy-autopilot.timer sudo: no tty present and no askpass program specified panic: runtime error: invalid memory address or nil pointer dereference [signal 0xb code=0x1 addr=0x0 pc=0x53b74f] goroutine 1 [running]: panic(0x94a020, 0xc8200100e0) /usr/lib/go-1.6/src/runtime/panic.go:464 +0x3e6 gopkg.in/check%2ev1.(*methodType).PC(0x0, 0x5544e6) /home/plars/work/snappy/snappy-tests/parts/snappy-tests/go/src/gopkg.in/check.v1/check.go:60 +0x4f gopkg.in/check%2ev1.(*C).logCaller(0xc8200e61e0, 0x3) /home/plars/work/snappy/snappy-tests/parts/snappy-tests/go/src/gopkg.in/check.v1/check.go:284 +0xa1 gopkg.in/check%2ev1.(*C).internalCheck(0xc8200e61e0, 0x9f39b8, 0x6, 0x9cda80, 0xc8201970c0, 0x7feac3fb2568, 0xc820026028, 0xc82004fd88, 0x0, 0x1, ...) /home/plars/work/snappy/snappy-tests/parts/snappy-tests/go/src/gopkg.in/check.v1/helpers.go:216 +0xeaf gopkg.in/check%2ev1.(*C).Assert(0xc8200e61e0, 0x9cda80, 0xc8201970c0, 0x7feac3fb2568, 0xc820026028, 0xc82004fd88, 0x1, 0x1) /home/plars/work/snappy/snappy-tests/parts/snappy-tests/go/src/gopkg.in/check.v1/helpers.go:173 +0x8c github.com/ubuntu-core/snappy/integration-tests/testutils/cli.ExecCommand(0xc8200e61e0, 0xc820013b40, 0x4, 0x4, 0x0, 0x0) /home/plars/work/snappy/snappy-tests/parts/snappy-tests/go/src/github.com/ubuntu-core/snappy/integration-tests/testutils/cli/cli.go:42 +0x306 snappy/integration-tests/tests.init.1() /home/plars/work/snappy/snappy-tests/parts/snappy-tests/go/src/snappy/integration-tests/tests/base_test.go:55 +0x16d snappy/integration-tests/tests.init() /home/plars/work/snappy/snappy-tests/parts/snappy-tests/go/src/snappy/integration-tests/tests/writablePaths_test.go:107 +0x10c4 main.init() snappy/integration-tests/tests/_test/_testmain.go:56 +0x4a I then tried to build it myself: $ sudo apt-get install git snapcraft $ export GOPATH=$HOME/work $ mkdir $GOPATH $ export PATH=$PATH:$GOPATH $ git clone https://github.com/plars/snappy-tests.git $ cd snappy-tests $ snapcraft (this may fail; if it does, keep trying until it succeeds per IRC) ... $ sudo snap install --devmode ./snappy-tests_0.1_amd64.snap $ snappy-tests -check.f homeInterfaceSuite sudo systemctl stop snappy-autopilot.timer sudo: no tty present and no askpass program specified panic: runtime error: invalid memory address or nil pointer dereference [signal 0xb code=0x1 addr=0x0 pc=0x531c3f] goroutine 1 [running]: panic(0x928e60, 0xc8200100f0) /usr/lib/go-1.6/src/runtime/panic.go:464 +0x3e6 gopkg.in/check%2ev1.(*methodType).PC(0x0, 0x52ab16) /home/jamie/snappy-tests/parts/snappy-tests/go/src/gopkg.in/check.v1/check.go:60 +0x4f gopkg.in/check%2ev1.(*C).logCaller(0xc8200da000, 0x3) /home/jamie/snappy-tests/parts/snappy-tests/go/src/gopkg.in/check.v1/check.go:284 +0xa1 gopkg.in/check%2ev1.(*C).internalCheck(0xc8200da000, 0x9cf2e0, 0x6, 0x9a9800, 0xc8201a0c00, 0x7f7be51ec590, 0xc820024028, 0xc82004dd70, 0x0, 0x1, ...) /home/jamie/snappy-tests/parts/snappy-tests/go/src/gopkg.in/check.v1/helpers.go:216 +0xeaf gopkg.in/check%2ev1.(*C).Assert(0xc8200da000, 0x9a9800, 0xc8201a0c00, 0x7f7be51ec590, 0xc820024028, 0xc82004dd70, 0x1, 0x1) /home/jamie/snappy-tests/parts/snappy-tests/go/src/gopkg.in/check.v1/helpers.go:173 +0x8c github.com/ubuntu-core/snappy/integration-tests/testutils/cli.ExecCommand(0xc8200da000, 0xc820013840, 0x4, 0x4, 0x0, 0x0) /home/jamie/snappy-tests/parts/snappy-tests/go/src/github.com/ubuntu-core/snappy/integration-tests/testutils/cli/cli.go:42 +0x306 snappy/integration-tests/tests.init.1() /home/jamie/snappy-tests/parts/snappy-tests/go/src/snappy/integration-tests/tests/base_test.go:56 +0x16d snappy/integration-tests/tests.init() /home/jamie/snappy-tests/parts/snappy-tests/go/src/snappy/integration-tests/tests/writablePaths_test.go:107 +0xce8 main.init() snappy/integration-tests/tests/_test/_testmain.go:56 +0x4a I'm not sure what to do at this point. It seems like adjusting the GOPATH and creating the dir in your snap will resolve the first issue, but then run into the next issues. Paul, can you provide precise steps on how to reproduce? **
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
@Paul, I tried to test this in a snappy VM with: $ snappy-tests -check.f homeInterfaceSuite Bad system call -- FAIL: :46: homeInterfaceSuite.SetUpSuite /home/plars/work/snappy/snappy-tests/parts/snappy-tests/go/src/github.com/ubuntu-core/snappy/integration-tests/testutils/common/common.go:65: ...open /home/plars/work/snappy/snappy-tests/parts/snappy-tests/go/src/github.com/ubuntu-core/snappy/integration-tests/testutils/common/common.go: no such file or directory ... value *os.PathError = {Op:"open", Path:"integration-tests/data/output/testconfig.json", Err:0x2} ("open integration-tests/data/output/testconfig.json: no such file or directory") ... Error reading config: open integration-tests/data/output/testconfig.json: no such file or directory OOPS: 0 passed, 1 FAILED, 7 MISSED --- FAIL: Test (0.01s) FAIL Let me try to checkout the branch in a desktop VM to reproduce. -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
@Jamie: simply building that snap and installing it, and even connecting/disconnecting the slots doesn't seem to reproduce the problem easily. The easiest way I can come up with for reproducing it is to use the snap that I'm using [attached]. To run into the problem I see, install this snap, and run: snappy-tests -check.f homeInterfaceSuite ** Attachment added: "snappy-tests_0.1_amd64.snap" https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1579135/+attachment/4657519/+files/snappy-tests_0.1_amd64.snap -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
Linux localhost.localdomain 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
What kernel (full version) did this occur on? -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
I'm told home-consumer is https://github.com/ubuntu- core/snappy/blob/master/integration-tests/data/snaps/home-consumer/ so reproducing with a snap would be to checkout that branch, run 'snapcraft snap .' then installing the resulting snap (eg, 'sudo snap install /path/to/snap' adding --devmode if want complain mode). -- 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
[Bug 1579135] 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? -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
It looks like you installed the snap with --devmode. Can you confirm? -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
** Attachment added: "/var/cache/apparmor" https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1579135/+attachment/4657381/+files/var-cache-apparmor.tgz -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
** Attachment added: "/var/lib/snapd/apparmor/profiles" https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1579135/+attachment/4657380/+files/profiles.tgz -- 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
[Bug 1579135] Re: kernel BUG on snap disconnect from within a snap
Tail end of syslog: May 6 16:03:58 localhost kernel: [ 595.676922] audit: type=1400 audit(1462550638.144:10477): apparmor="ALLOWED" operation="recvmsg" profile="snap.snappy-tests.snappy-tests//null-/usr/bin/sudo" pid=1908 comm="sudo" family="netlink" sock_type="raw" protocol=9 requested_mask="receive" denied_mask="receive" May 6 16:03:58 localhost kernel: [ 595.681696] audit: type=1400 audit(1462550638.148:10478): apparmor="ALLOWED" operation="create" profile="snap.snappy-tests.snappy-tests//null-/usr/bin/sudo" pid=1908 comm="sudo" family="netlink" sock_type="raw" protocol=9 requested_mask="create" denied_mask="create" May 6 16:03:58 localhost kernel: [ 595.686123] audit: type=1400 audit(1462550638.152:10479): apparmor="ALLOWED" operation="sendmsg" profile="snap.snappy-tests.snappy-tests//null-/usr/bin/sudo" pid=1908 comm="sudo" family="netlink" sock_type="raw" protocol=9 requested_mask="send" denied_mask="send" May 6 16:03:58 localhost kernel: [ 595.690588] audit: type=1400 audit(1462550638.156:10480): apparmor="ALLOWED" operation="recvmsg" profile="snap.snappy-tests.snappy-tests//null-/usr/bin/sudo" pid=1908 comm="sudo" family="netlink" sock_type="raw" protocol=9 requested_mask="receive" denied_mask="receive" May 6 16:03:58 localhost kernel: [ 595.695250] audit: type=1400 audit(1462550638.164:10481): apparmor="ALLOWED" operation="recvmsg" profile="snap.snappy-tests.snappy-tests//null-/usr/bin/sudo" pid=1908 comm="sudo" family="netlink" sock_type="raw" protocol=9 requested_mask="receive" denied_mask="receive" May 6 16:07:41 localhost /usr/lib/snapd/snapd[1578]: taskrunner.go:234: DEBUG: Running task 67 on Doing: Disconnect home-consumer:home from ubuntu-core:home May 6 16:07:41 localhost /usr/lib/snapd/snapd[1578]: task.go:250: DEBUG: 2016-05-06T16:07:41Z ERROR cannot disconnect plug "home" from snap "home-consumer" from slot "home" from snap "ubuntu-core", it is not connected May 6 16:09:15 localhost systemd[1]: Starting Cleanup of Temporary Directories... May 6 16:09:15 localhost systemd-tmpfiles[1919]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring. May 6 16:09:15 localhost systemd[1]: Started Cleanup of Temporary Directories. -- 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