confined applications show as unconfined

Bug #1813352 reported by Sergio Schvezov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Applications that are confined, e.g.; chromium (https://snapcraft.io/chromium) show up as unconfined on gnome-software.

Screenshots attached.

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: gnome-software-plugin-snap 3.30.6-2ubuntu2
Uname: Linux 4.18.20-surface-linux-surface x86_64
ApportVersion: 2.20.10-0ubuntu19
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Jan 25 16:26:54 2019
InstallationDate: Installed on 2019-01-24 (0 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190123)
InstalledPlugins:
 gnome-software-plugin-flatpak N/A
 gnome-software-plugin-snap 3.30.6-2ubuntu2
SourcePackage: gnome-software
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Revision history for this message
Robert Ancell (robert-ancell) wrote :

I tried this on my 19.04 machine and Chromium is showing as being confined (both when not installed and installed).

There are two things that must be true for G-S to consider a snap to be confined:

1. The snap must be confined:

$ curl --unix-socket /run/snapd.socket http://localhost/v2/find?name=chromium|jq .result[0].confinement
"strict"

2. snapd must be confined:

$ curl --unix-socket /run/snapd.socket http://localhost/v2/system-info|jq .result.confinement
"strict"

Are any of those different in your case?

Changed in gnome-software (Ubuntu):
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
Robert Ancell (robert-ancell) wrote :

If installed, also check the installed snap metadata:

$ curl --unix-socket /run/snapd.socket http://localhost/v2/snaps/chromium|jq .result.confinement
"strict"

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gnome-software (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-software (Ubuntu):
status: Incomplete → Expired
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.