Verify on jammy: PASS
=====================

snap            2.77.1+ubuntu22.04.1
snapd           2.77.1+ubuntu22.04.1
series          16
ubuntu          22.04
kernel          5.15.0-198-generic
architecture    amd64
snapd-bin-from  native-package
snap-bin-from   native-package

sudo snap set system experimental.parallel-instances=true

Connected test-content-plug:package-assets to test-content-
slot_key:package-assets.

grep package-assets /var/lib/snapd/mount/snap.test-content-plug.fstab
/var/snap/test-content-slot_key/x1/package-assets/test-content-slot 
/var/snap/test-content-plug/x1/from-slot/test-content-slot none bind,ro 0 0

marker=instance-key

Default slot regression:
/var/snap/test-content-slot/x1/package-assets/test-content-slot 
/var/snap/test-content-plug/x1/from-slot/test-content-slot none bind,ro 0 0
marker=default

Plug-side parallel install test-content-plug_c2, connected to 
test-content-slot_key.
/var/lib/snapd/mount/snap.test-content-plug_c2.fstab:
/snap/test-content-plug_c2 /snap/test-content-plug none 
rbind,x-snapd.origin=overname 0 0
/var/snap/test-content-plug_c2 /var/snap/test-content-plug none 
rbind,x-snapd.origin=overname 0 0
/var/snap/test-content-slot_key/x1/package-assets/test-content-slot 
/var/snap/test-content-plug/x1/from-slot/test-content-slot none bind,ro 0 0
marker=instance-key

Refresh of test-content-slot_key 1 (x1) -> 2 (x2). Mount source follows that 
instance only:
/var/snap/test-content-slot_key/x2/package-assets/test-content-slot 
/var/snap/test-content-plug/x1/from-slot/test-content-slot none bind,ro 0 0
plug-sees=refreshed-key
c2-sees=refreshed-key
default instance marker unchanged: default

Reconnecting the default plug to test-content-slot:
/var/snap/test-content-slot/x1/package-assets/test-content-slot ...
plug-sees=default

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

Title:
  content interface slot not working probably on parallel install of
  snap

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


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

Reply via email to