Public bug reported:

Binary package hint: gnome-disk-utility

Loopback mounts are being reported as mount-removed events and and
unmounts are reported as mount-added events.

I think the bug is in libgdu. If the event custody chain is:

  kernel uevent -> udev -> udev uevent -> (udisks sends D-BUS signal) ->
(libgdu + gvfs)

We can test udisk with:

$ udisks --monitor-detail

You'll see that the "is mounted" flag is set properly when you mount and
unmount a loop device.

You can test gvfs with:

$ gvfs-mount -io

And you'll see the events are backwards there.

** Affects: gnome-disk-utility (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  gvfs not properly reporting loopback mount events

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to