[Bug 1626121] Re: snap-confine causes Segmentation fault
Added snapcraft as affected because this makes the autopkgtests fail, so it blocks the release to yakkety. ** Also affects: snapcraft Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1626121 Title: snap-confine causes Segmentation fault To manage notifications about this bug go to: https://bugs.launchpad.net/snap-confine/+bug/1626121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1626121] Re: snap-confine causes Segmentation fault
The denial is in the default template, not snap-confine (profile="snap.mosquitto.subscribe"). I talked to the apparmor kernel devs and this has to do with the new linux 4.8 kernel and not snap- confine per se. This is a semantic change in the upstream kernel. Per jjohansen, "the location of the mmap check in the binfmt_elf loader changed, and along with it the cred that is used for the check". The fix will need to be to default policy in snapd, not snap-confine. ** Also affects: snappy Importance: Undecided Status: New ** Changed in: snap-confine Status: New => Invalid ** Changed in: snap-confine (Ubuntu) Status: Confirmed => Invalid ** Also affects: snapd (Ubuntu) Importance: Undecided Status: New ** Changed in: snappy Status: New => In Progress ** Changed in: snappy Importance: Undecided => Critical ** Changed in: snappy Assignee: (unassigned) => Jamie Strandboge (jdstrand) ** Changed in: snapd (Ubuntu) Status: New => Triaged ** Changed in: snapd (Ubuntu) Importance: Undecided => Critical ** Changed in: snapd (Ubuntu) Assignee: (unassigned) => Jamie Strandboge (jdstrand) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1626121 Title: snap-confine causes Segmentation fault To manage notifications about this bug go to: https://bugs.launchpad.net/snap-confine/+bug/1626121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1626121] Re: snap-confine causes Segmentation fault
strace: http://paste.ubuntu.com/23212239/ /etc/apparmor.d/usr.lib.snapd.snap-confine: http://paste.ubuntu.com/23212242/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1626121 Title: snap-confine causes Segmentation fault To manage notifications about this bug go to: https://bugs.launchpad.net/snap-confine/+bug/1626121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1626121] Re: snap-confine causes Segmentation fault
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snap-confine (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1626121 Title: snap-confine causes Segmentation fault To manage notifications about this bug go to: https://bugs.launchpad.net/snap-confine/+bug/1626121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1626121] Re: snap-confine causes Segmentation fault
I can reproduce this in a yakkety machine started by adt-run in scalingstack. This is the entry from syslog: Sep 21 16:16:24 adt kernel: [ 997.682383] audit: type=1400 audit(1474474584.561:68): apparmor="DENIED" operation="file_mmap" profile="snap.mosquitto.subscribe" name="/usr/lib/snapd/snap-exec" pid=4525 comm="snap-exec" requested_mask="m" denied_mask="m" fsuid=1000 ouid=0 When running with sudo gdb, it prints: Cannot find user-level thread for LWP 4622: generic error -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1626121 Title: snap-confine causes Segmentation fault To manage notifications about this bug go to: https://bugs.launchpad.net/snap-confine/+bug/1626121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1626121] Re: snap-confine causes Segmentation fault
I tried to reproduce this on a 16.04 machine updated to 16.10 (with a reboot to change the kernel). I cannot reproduce it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1626121 Title: snap-confine causes Segmentation fault To manage notifications about this bug go to: https://bugs.launchpad.net/snap-confine/+bug/1626121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs