*sigh* my test case in
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1751667/comments/8
was flawed. With the PR, on a livecd the apparmor unit correctly doesn't
load the policy. snapd starts at some point, notices it is on an
overlay, adds the overlay snippet to /var/lib/snapd/apparmor/snap-
confine and then loads all the /etc/apparmor.d/*snap-confine* profiles.
So long as snapd starts before preinstalled snaps then all is fine.
** Changed in: apparmor (Ubuntu)
Status: Confirmed => Invalid
** Changed in: apparmor (Ubuntu)
Assignee: Jamie Strandboge (jdstrand) => (unassigned)
** Changed in: snapd (Ubuntu)
Status: Confirmed => In Progress
** Changed in: snapd (Ubuntu)
Assignee: (unassigned) => Jamie Strandboge (jdstrand)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1751667
Title:
classic snap does not run on live session
Status in apparmor package in Ubuntu:
Invalid
Status in snapd package in Ubuntu:
In Progress
Bug description:
I'm testing Ubuntu Budgie's classic snap called "ubuntu-budgie-
welcome" which is available in the beta channel.
Ubuntu Budgie 18.04 daily ISO 25/02/2018
The snap works just fine on a normal install. However this classic
snap fails on the Ubuntu Budgie live session. As snaps become more
prevalent - snaps - including classic snaps should work on live
sessions.
For Ubuntu Budgie, the classic snap is very important because it
presents the user vital info about the distro and instructions on how
to install.
Copying the .desktop launcher from the menu I see the following issue
in a terminal:
ubuntu-budgie@ubuntu-budgie:~$ env
BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/ubuntu-budgie-welcome_budgie-welcome.desktop
/snap/bin/ubuntu-budgie-welcome.budgie-welcome %U
snap-confine has elevated permissions and is not confined but should be.
Refusing to continue to avoid permission escalation attacks
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: snapd 2.31.1+18.04
ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
Uname: Linux 4.15.0-10-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CasperVersion: 1.388
CurrentDesktop: Budgie:GNOME
Date: Sun Feb 25 23:28:38 2018
LiveMediaBuild: Ubuntu-Budgie 18.04 LTS "Bionic Beaver" - Alpha amd64
(20180225)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1751667/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp