[Pkg-xfce-devel] Bug#633771: Bug#633771: thunar: useless error when ejecting removable media
gajdusek.petr at centrum.cz
Thu Jun 27 02:22:09 UTC 2013
The mounting sequence on Wheezy is something like:
thunar-volman (or thunar if auto-mounting is disabled) > GIO -> GVFS ->
gdu monitor (from gvfs) using libgdu0 from gnome-disk-utility ->
udisks is essential here, otherwise you will not be able to umount via
The unmounting sequence is similar but thunar-volman is never engaged,
rather thunar itself.
There is policykit involved too.
I have never managed to reproduce this on my system and I doubt these
all issues are triggered by same bug, but anyway, if you are running
Wheezy and the medium is successfully unmounted but still 'not
authorized' error pops out, it may be cause by failing DriveEject
method on udisks.
If it is the case, the partition will not be in `mount` output, but the
medium will still not be ejected - there will be still /dev/sdc*
files and the device will be in `udisks --enumerate` output.
If so, will `udisks --eject /dev/sdc` work now? Replace /dev/sdc with
your device file.
What is the output of `mount` while the disc is mounted. Is there
`uhelper=udisks`? If not try to remove the line from fstab, is there?
It should not interfere if you have specified correct mount options but
mounting without the line in fstab may simplify the chain where
the problem may be.
If you mount the disk, does
udisks --unmount /dev/sdc1; udisks --eject /dev/sdc
What is output of `udisks --dump` (with the disk connected/mounted)
What is output of
pkaction --action-id org.freedesktop.udisks.drive-eject --verbose
and output of
PID=$$; sudo bash -c "pkcheck --process $PID --action-id \
org.freedesktop.udisks.drive-eject --detail \
device /org/freedesktop/UDisks/devices/sdb1; echo $?"
Maybe try run `udisks --monitor-detail` while connecting the disk,
and mount/unmount it. Just kill the tracker before as it will spam
the log a lot.
Finaly, if you found problem with policykit, you may try to create e.g.
More information about the Pkg-xfce-devel