Public bug reported:

Similarly as you can install confined snap in devmode via --devmode, I
tried to do the same for a classic snap (definining confinement:
strict).

The snap install successfully, but it's confined, not seeing the classic file 
system tree.
"snap list" confirms it.

If non classic snap aren't supposed to be installed in classic (which
seems to be the case due to wrapper scripts being different in python
for instance when the snap is a classic snap:
https://github.com/snapcore/snapcraft/pull/1093/files#diff-
6ddd7f2a83b2f307ff953c3fb60ae35dR256), snapd should prevents it.

Anyway, non classic snap shouldn't be installed using --classic silently
in their default mode (strict/devmode)

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 09:29:34 2017
InstallationDate: Installed on 2012-05-28 (1737 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
SourcePackage: snapd
UpgradeStatus: Upgraded to xenial on 2014-10-31 (851 days ago)

** Affects: snappy
     Importance: Undecided
         Status: New

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

** Also affects: snappy
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668891

Title:
  Can install non classic snap with --classic, but classic flag isn't
  set

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1668891/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to