Hi everybody, some ideas...
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 udisks is essential here, otherwise you will not be able to umount via udisks later. 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. Other ideas: 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 always work? 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. /etc/polkit-1/localauthority/50-local.d/70umount.pkl with [org.freedesktop.udisks.filesystem-unmount-others] Identity=unix-user:<YOUR_USER_NAME> Action=org.freedesktop.udisks.filesystem-unmount-others ResultAny=auth_admin ResultInactive=auth_admin ResultActive=yes Regards, Petr -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org