Comment 0 for bug 1649331

Revision history for this message
Albert Astals Cid (aacid) wrote : Connecting/Disconnecting ubuntu-app-platform doesn't really work until a reboot

How to reproduce:

 * make sure you don't have ubuntu-calculator-app installed
      sudo snap remove ubuntu-calculator-app

 * install ubuntu-app-platform
      sudo snap install ubuntu-app-platform

 * install ubuntu-calculator-app
      sudo snap install ubuntu-calculator-app

 * check snap interfaces list the ubuntu-app-platform:platform plug as connected
      snap interfaces ubuntu-app-platform:platform
            Slot Plug
            ubuntu-app-platform:platform ubuntu-calculator-app

 * check the ubuntu-app-platform contentis actually available for the ubuntu-calculator-app
      snap run --shell ubuntu-calculator-app
      ls $SNAP/ubuntu-app-platform
            etc meta usr

 * Disconnect ubuntu-calculator-app from ubuntu-app-platform:platform
      snap interfaces ubuntu-calculator-app:platform
            Slot Plug
            - ubuntu-calculator-app:platform

 * BUT the ubuntu-app-platform content is still available for the ubuntu-calculator-app
      snap run --shell ubuntu-calculator-app
      ls $SNAP/ubuntu-app-platform
            etc meta usr

 * After a reboot the content is correctly not available anymore.