can't eject media after using nautilus-open-terminal

Bug #62200 reported by LGB [Gábor Lénárt]
18
Affects Status Importance Assigned to Milestone
Nautilus
Unknown
Medium
nautilus-open-terminal (Ubuntu)
Fix Released
Low
MOTU

Bug Description

Binary package hint: nautilus

After plugging a Nokia phone to the USB port, I can read/write memory card of it without any problem (it worked on Dapper too of course). However, if I try to "eject" it, I got an error dialog that cannot be unmounted. Also from terminal:

lgb@oxygene:~$ fuser -vm /media/Memory\ card/
                     USER PID ACCESS COMMAND
/media/Memory card/: lgb 8955 ..c.. nautilus

If i kill nautilus (killall nautilus) it allows to eject then. This is up-to-date edgy on AMD64.

nautilus 2.16.0-0ubuntu3
hotplug 0.0.20040329-22ubuntu13
udev 093-0ubuntu15
mount 2.12r-11ubuntu1
pmount 0.9.13-1build1

Some days ago the behaviour was that nautilus window showing content of mounted device will chdir into a directory not on the device. Now, it does not work, and even if I close all of open nautilus windows device is still busy and cannot be unmounted. I have no other USB device to test the problem, though.

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

I've just realized, that it only occures if I use 'Open in terminal' feature (I think it's in package nautilus-open-terminal). The strange thing that even if I exit from that terminal eject cannot be done.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

I can confirm this, it is trivial to reproduce:

-plug in any removable media (cdrom, usb-stick..)
-from the popup nautilus-window right click and choose "open in terminal"
-quit the terminal
-try to eject the media -> doesn't work
-run 'lsof |grep <mountpoint>' and it shows something like this:

 nautilus 10863 tjaalton cwd DIR 22,0 640 1344 /media/cdrom0

this is also affects dapper.

Changed in nautilus:
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the useful details. I've forwarded that upstream: http://bugzilla.gnome.org/show_bug.cgi?id=359835

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Low
Changed in nautilus:
status: Unknown → Unconfirmed
Revision history for this message
Christian Neumair (chris-gnome-de) wrote :
Changed in nautilus:
status: Unconfirmed → Rejected
Changed in nautilus:
assignee: desktop-bugs → motu
status: Confirmed → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you Christian, fixed with that upload:

 nautilus-open-terminal (0.7-1ubuntu1) feisty; urgency=low
 .
   * debian/patches/90_from_svn_dont_block_eject.patch:
     - patch from SVN, fix bug that blocked media ejection (Ubuntu: #62200)

Changed in nautilus-open-terminal:
status: Fix Committed → Fix Released
Changed in nautilus:
importance: Unknown → Medium
status: Invalid → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.