gvfs should ignore snap package mounts

Bug #1593604 reported by Oliver Grawert
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Confirmed
Undecided
Unassigned
snapd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

when removing a snap package gvfs shows a device in the unity panel for a split second while the squashfs is unmounted during package removal.

ideally gvfs should ignore all snap package operations since the package mounts should never be used directly by users.

running in one terminal:
sudo snap remove <snapname>

while in another terminal gvfs-mount --monitor is running i get the following output:

ogra@styx:~$ gvfs-mount --monitor
Monitoring events. Press Ctrl+C to quit.

Volume added: 'Datenträger 66 MB'
Volume changed: 'Datenträger'
Volume removed: 'Datenträger'

this only happens on snap removal, not when installing a snap (nothing is printed in the --monitor terminal during install)

Revision history for this message
Oliver Grawert (ogra) wrote :

not sure if the fix for this needs to be in gvfs or in snapd, so i added a snapd bugtask as well.

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gvfs (Ubuntu):
status: New → Confirmed
Changed in snapd (Ubuntu):
status: New → Confirmed
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.