The problem is that the apparmor systemd unit (and the script it calls)
exit if /rofs/etc/apparmor.d exists. This is correct in the general
case. What needs to happen is either snapd loads them itself or the
apparmor init scripts instead load just the snap-confine profiles.
** Also affects: apparmor (Ubuntu)
Importance: Undecided
Status: New
** No longer affects: ubiquity (Ubuntu)
** Changed in: apparmor (Ubuntu)
Status: New => Triaged
** Changed in: apparmor (Ubuntu)
Assignee: (unassigned) => Jamie Strandboge (jdstrand)
** Changed in: apparmor (Ubuntu)
Status: Triaged => Confirmed
--
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:
Confirmed
Status in snapd package in Ubuntu:
Confirmed
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