! 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-volman doesn't respect symlinks in the /run/media path
Status:
RESOLVED: WONTFIX
Product:
Thunar-volman
Component:
General

Comments

Description Ahau 2012-12-18 21:47:47 CET
Hello,

I package Xfce for Porteus Linux, a Slackware-based live usb/cd distribution.  Since our distribution runs "live", it starts with a minimal environment inside an initramfs and then uses pivot_root to change root directories.  In order to optimize our startup process, we would like to avoid remounting tmpfs in the pivot_root procedure, we're symlinking /run to another location (/mnt/live/run).  When we do this, everything seems to work fine in other desktops (KDE4 and LXDE), and automounting works fine through udev/udisks2; however, thunar-volman can't seem to handle it.  

Here's the behavior:  when I plug in a USB drive, the partitions are listed in thunar's shortcut menu as they should be.  When I click on a shortcut, the shortcut disappears (sometimes immediately and sometimes after a delay).  The partition is correctly mounted by udisks2 (to /run/media/$USER/$UUID, where /run is a symlink to /mnt/live/run), but since the shortcut in thunar disappears, the user would never know that the disk was actually mounted, and there is no shortcut with a button to unmount it.  When we revert to leaving /run as a regular directory and remounting tmpfs in our startup procedure, then drives are automounted as desired.

Given that everything works with udev, udisks2 and gvfs, it would seem this problem lies within thunar-volman; please let me know if there is additional information I can provide to help sort out the cause.

Thank you!
Comment 1 Skunnyk editbugs 2020-05-25 22:38:31 CEST
Closing old bugreports. If it's still an issue, please reopen on gitlab

Bug #9657

Reported by:
Ahau
Reported on: 2012-12-18
Last modified on: 2020-05-25

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Attachments

Additional information