! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
thunar-1.4.0 echoes error while umounting if current dir mismatch /media/$LABEL
Status:
RESOLVED: FIXED

Comments

Description Ikonta 2012-10-28 08:29:30 CET
Created attachment 4697 
strace output for running thunar, mount DVD, change dir to home and umount it

I use XFce Desctop on amd64 arch Gentoo GNU/Linux.
The system is configured for udev-managed mount external media (media is mounted into /media/$LABEL/ or, if no label presents on media - in /media/UUID/ directory).

If I execute 'eject' command from /media/$LABEL/ directory - everything works fine.
But if I execute the same command from another directory (for example users nome dir)... eject commands also done all needed. But at last I see error message window: "failed to open directory /media/$LABEL/ Access denied."

gdb shows nothing interesting:
Reading symbols from /usr/bin/thunar...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/thunar 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
[Inferior 1 (process 5906) exited normally]

So, I attach strace. Hope, it will be useful and enough to solve this issue.

P.S. Also, though it looks to be not XFce issue: eject command MUST be associated with DEVICE, NOT MEDIA (i.e differs umount and eject commands, now it always try to use eject).
I.e. I want to be able to eject CD _drive_ independently on its status (whenether there presents cd disk or not).
Amd I'm very unpleased with necessity to reconnect usb device when I need to mount again previously unmounted device.
Comment 1 Ikonta 2012-10-28 08:37:14 CET
One more forgotten:
After closing this error message thunar fails to read current dir (for example home) contents, so, displays it blank.
Refresh dir returns normal operability (home is shown not blank but with its real contents).
Comment 2 Ikonta 2013-06-03 18:21:45 CEST
Fixed in Thunar 1.6.2 (with peoper dependencies update).

Bug #9420

Reported by:
Ikonta
Reported on: 2012-10-28
Last modified on: 2013-06-03

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Attachments

Additional information