Content interface plugs autoconnect to the wrong provider
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
Unassigned | ||
snapd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have ubuntu-app-platform installed which exposes a slot called "platform"
I created a consumer that looks for slots provider1:shared1 and provider2:shared2
This is snap interfaces after installing my test snaps and without issuing any connect commands. Note that these (consumer, provider) are local snaps installed with --dangerous.
provider1:shared1 -
provider2:shared2
ubuntu-
$ snap version
snap 2.23.5
snapd 2.23.5
series 16
ubuntu 16.04
kernel 4.4.0-66-generic
Running consumer reports
cannot mount /snap/ubuntu-
Only tested on a classic system, Xenial and Zesty
In another case, I had a snap that plugged ubuntu-app-platform and mir-libs, similar symptom but in fact the content from platform showed up in the mir-libs folder of the snap.
Manually connecting (and discard-ns) makes it work
summary: |
- Content inteface plugs autoconnect to the wrong provider + Content interface plugs autoconnect to the wrong provider |
Changed in canonical-devices-system-image: | |
importance: | Undecided → Critical |
milestone: | none → u8c-2 |
status: | New → Confirmed |
Changed in canonical-devices-system-image: | |
status: | Confirmed → Fix Released |
Also happens with apps from the store without --dangerous