classic snap can't use confinement override

Bug #1669000 reported by Didier Roche-Tolomelli
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
snapd
Confirmed
Undecided
Unassigned
snapd (Ubuntu)
Confirmed
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)

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :
summary: - classic snap can't use override confinement
+ classic snap can't use confinement override
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in snapd (Ubuntu):
status: New → Confirmed
Revision history for this message
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

Revision history for this message
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)
affects: snappy → snapd
Changed in snapd:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.