classic snap does not run on live session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
Undecided
|
Unassigned | ||
apparmor (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
snapd (Ubuntu) |
Fix Released
|
Undecided
|
Jamie Strandboge |
Bug Description
I'm testing Ubuntu Budgie's classic snap called "ubuntu-
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-
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
ProcVersionSign
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-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)
The snap-confine profile is not loaded at the time ubuntu- budgie- welcome is launched. You should see a different error if you do:
$ sudo apparmor_parser -r /etc/apparmor. d/*snap- confine*
Once the profile is loaded, because Ubuntu now uses overlay instead of aufs, you are going to need a snapd with https:/ /github. com/snapcore/ snapd/pull/ 4714 applied.