Disconnecting ubuntu-app-platform doesn't really work until a reboot

Bug #1649331 reported by Albert Astals Cid
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
Medium
Pat McGowan
Snappy
New
Undecided
Unassigned

Bug Description

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
      sudo snap disconnect ubuntu-calculator-app:platform 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.

Tags: personal
summary: - Connecting/Disconnecting ubuntu-app-platform doesn't really work until a
- reboot
+ Disconnecting ubuntu-app-platform doesn't really work until a reboot
tags: added: personal
Changed in canonical-devices-system-image:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → p2
description: updated
Revision history for this message
Albert Astals Cid (aacid) wrote :

Pull request that fixes this at https://github.com/snapcore/snapd/pull/2497

Changed in canonical-devices-system-image:
assignee: nobody → Pat McGowan (pat-mcgowan)
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.