[Bug 1734038] Re: snap-confine profile uses 'include' instead of '#include' which breaks apparmor-utils python tools
2.29.4 debs and 16-2.30 core snaps use: #include "/var/lib/snapd/apparmor/snap-confine.d" This is sufficient to mark this bug Fix Released for snapd. For systems that are affected by this bug with older revisions of the core snap, please see the workaround in https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1734038/comments/15 and follow the progress in the apparmor bug: https://bugs.launchpad.net/bugs/1733700 ** Changed in: snapd (Ubuntu Trusty) Status: New => Fix Released ** Changed in: snapd (Ubuntu Zesty) Status: Invalid => Fix Released ** Changed in: snapd (Ubuntu Artful) Status: New => Fix Released ** Changed in: snapd (Ubuntu Bionic) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734038 Title: snap-confine profile uses 'include' instead of '#include' which breaks apparmor-utils python tools To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1734038/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1734038] Re: snap-confine profile uses 'include' instead of '#include' which breaks apparmor-utils python tools
@Matthew, your bug is now being tracked separately, here: https://bugs.launchpad.net/bugs/1733700 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734038 Title: snap-confine profile uses 'include' instead of '#include' which breaks apparmor-utils python tools To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1734038/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1734038] Re: snap-confine profile uses 'include' instead of '#include' which breaks apparmor-utils python tools
** Changed in: snapd (Ubuntu Xenial) Status: New => Fix Released ** Changed in: snapd (Ubuntu Zesty) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734038 Title: snap-confine profile uses 'include' instead of '#include' which breaks apparmor-utils python tools To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1734038/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1734038] Re: snap-confine profile uses 'include' instead of '#include' which breaks apparmor-utils python tools
My Core is 16-2-.29.4.2 and I am seeing the issue as sudo aa-complain foo ERROR: Syntax Error: Unknown line found in file /etc/apparmor.d/snap.core.3440.usr.lib.snapd.snap-confine line 15: include "/var/lib/snapd/apparmor/snap-confine.d" /etc/ld.so.cache r, -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734038 Title: snap-confine profile uses 'include' instead of '#include' which breaks apparmor-utils python tools To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1734038/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1734038] Re: snap-confine profile uses 'include' instead of '#include' which breaks apparmor-utils python tools
FYI, we discussed how to move forward on this: * mvo will update the SRU deb in -proposed for all releases to include the fix * mvo will create a 2.29.4.2 stable core snap * jdstrand will perform an apparmor SRU to fix the tools (tracked in bug #1733700) @Po-Hsu Lin and @apw - when the deb is updated, qrt should stop failing since it will have a fixed rule When the deb and stable core snap are available, all non-snap users and all not-yet-snap users will no longer be affected by this bug. People who have installed snaps and have a core snap >= 2.29 and < 2.29.4.2 installed will still be affected by this bug even when the deb and updated stable core snap become available until the apparmor userspace (bug #1733700) is fixed. This is because snapd keeps up to 3 revisions of snaps on the disk to support rollbacks and the earlier affected snap-confine profiles are still on disk. Until bug #1733700 is fixed, you can look in /snap/core to see what revisions are on disk, then use 'sudo snap remove core --revision=' to remove the older affected revisions and workaround the problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734038 Title: snap-confine profile uses 'include' instead of '#include' which breaks apparmor-utils python tools To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1734038/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs