← Back to team overview

desktop-packages team mailing list archive

[Bug 1069964] Re: Two processes attempt to mount blank optical discs

 

Probably the descriptions are a little obsolete, or otherwise gloss over
the technical details the end users wont understand.

nautilus has never managed the automounts afaik, the automount helpers
(i.e the auto-run actions) did live in nautilus in GNOME2, moved to
gnome-settings-daemon in 3.0 and these days live within gnome-shell
(Since 3.12 or something).

My best guess (and its only that causesince I could never reliably
reproduce this bug and poke around with gdb), is that somehow a stale
volume ends up stored (possibly due to unclean ejection of cd or just a
plain leak) within the volume monitor, there is an update_mounts
function in gvfs that is probably triggered by the insertion of the new
CD and gvfs/GIO run through this an mount that old leaked volume. Of
course it could also be a race or any other number of things, however I
don't think its the filemanagers, they are just doing what they are told
by the lower level software. I just don't have time to dig into this,
especially when I can't reproduce.

Now if you were to poke into the GIO volume monitor, you could possibly
confirm that, however afaik there is no easy way to do that other than
writing code.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1069964

Title:
  Two processes attempt to mount blank optical discs

Status in OEM Priority Project:
  New
Status in glib2.0 package in Ubuntu:
  Confirmed
Status in unity-settings-daemon package in Ubuntu:
  Confirmed

Bug description:
  This behavior can be reproduced using either a live USB or an
  installed version of the effected flavors. Simply insert a blank
  optical disc in the drive.

  The behavior differs slightly in Ubuntu GNOME as the notification to
  either Open with CD/DVD Creator or Eject is displayed twice - that is
  after simply clicking on the X to close that notification it closes
  but a new duplicate notification appaers immediately. The GNOME
  Classic session is not effected at all.

  In all other effected flavors and/or desktop environments a
  notification appears stating "Unable to mount Blank disc. Location is
  already mounted". Effected flavors and DE's include Ubuntu w/Unity,
  gnome-session-flashback, and Ubuntu MATE.

  Versions effected include Trusty, Utopic, and Vivid. I assume that two
  separate processes are actually attempting to mount the blank optical
  media, rather than just the file manager attemting to do so, because
  both Nautilus and Caja are effected (based on some of the comments
  below possibly also Nemo).

  While purely cosmetic in nature I'd certainly be willing to try and
  troubleshoot this if someone more tech savvy would provide some
  debugging instructions.

  Original content begins below:

  This error message comes up, while still able to burn, read/write etc. It occurs in quantal when inserting a CD/DVD into the drive, but it did not happen in precice.
  Screenshot:
  http://i47.tinypic.com/4v0aj6.png

  Burner: LG HL-DT-ST DVDRAM GH24NS90

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: gnome-settings-daemon 3.4.2-0ubuntu14
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: amd64
  Date: Mon Oct 22 19:50:35 2012
  ExecutablePath: /usr/lib/gnome-settings-daemon/gnome-fallback-mount-helper
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-settings-daemon
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1069964/+subscriptions