classic snap can't use confinement override

Bug #1669000 reported by Didier Roche on 2017-03-01
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
snapd
Undecided
Unassigned
snapd (Ubuntu)
Undecided
Unassigned

Bug Description

1. Try to install a classic snap with: "snap try --devmode prime/"
2. Error message is:
error: cannot perform the following tasks:
- Mount snap "chuck-norris-webserver" (unset) (snap "chuck-norris-webserver" requires classic or confinement override)
3. Try to install it in jailmode (if devmode wasn't consider as a confinment override):
"snap try --jailmode prime/"
error: cannot perform the following tasks:
- Mount snap "chuck-norris-webserver" (unset) (snap "chuck-norris-webserver" requires classic or confinement override)

If those operations are considered as incompatible, the error message should be adjusted.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: snapd 2.22.3
ProcVersionSignature: Ubuntu 4.4.0-64.85-generic 4.4.44
Uname: Linux 4.4.0-64-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Mar 1 15:04:44 2017
InstallationDate: Installed on 2012-05-28 (1738 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: snapd
UpgradeStatus: Upgraded to xenial on 2014-10-31 (852 days ago)

Didier Roche (didrocks) wrote :
summary: - classic snap can't use override confinement
+ classic snap can't use confinement override
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapd (Ubuntu):
status: New → Confirmed
bobthevirus (bobthevirus-gmail) wrote :

Following the snap tutorial at https://tutorials.ubuntu.com/tutorial/build-a-nodejs-service#3 has the same issue on ubuntu 18.04

John Lenton (chipaca) wrote :

bobthevirus, sorry you're having trouble with that tutorial! What part of it tells you to use "classic", though?

Zygmunt Krynicki (zyga) on 2019-10-01
affects: snappy → snapd
Changed in snapd:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers