umount succeeds and returns nonzero on udisks mountpoint

Bug #541740 reported by Evan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udisks (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Binary package hint: udisks

Version: 1.0.0~git20100305.fa313b2-1ubuntu1

If you mount a partition using udisks, but use umount on it instead of udisks --unmount, the mount succeeds and returns nonzero.

An example:
evan@bunny:~$ udisks --mount /dev/sdb1
Mounted /org/freedesktop/UDisks/devices/sdb1 at /media/4395-F66C
evan@bunny:~$ umount /dev/sdb1; echo $?
1
evan@bunny:~$ mount | grep /dev/sdb1
evan@bunny:~$

Related branches

Revision history for this message
Martin Pitt (pitti) wrote :

I can reproduce this.

Changed in udisks (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :
Changed in udisks (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package udisks - 1.0.0+git20100319-0git1

---------------
udisks (1.0.0+git20100319-0git1) lucid; urgency=low

  Upload current Debian packaging git head (Debian uploads do not work right
  now)

  [ Michael Biebl ]
  * Build against parted 2.2. (Closes: #574908)
  * debian/control
    - Add dependency on dbus.

  [ Martin Pitt ]
  * Update to current git head, which fixes three small issues:
    - umount.udisks: Exit with return code 0 if the unmount succeeded.
      (LP: #541740)
    - Allow other rules (such as media-player-info) to set a more specific
      presentation icon.
    - Set multimedia-player-ipod icon for iPod media players. (LP: #540235)
 -- Martin Pitt <email address hidden> Fri, 26 Mar 2010 12:15:23 +0100

Changed in udisks (Ubuntu):
status: Fix Committed → Fix Released
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.