Skip to content

Automount remounts directory after timeout

Thanks for your great work !

Version information

Version 4.20.3 Distro OpenSuse Tumbleweed

Current behavior and Steps to reproduce

  1. If Thunar is launched via the xfce desktop (fox example by clicking "Home") and if I then change into a directory to be mounted via Autofs, and I then close Thunar, the automounted directory is unmounted after the defined timeout but remounted after some seconds again. No application else is using the directory. It gets unmounted after timeout and remounted again. This repeats indefinitely. The only way to stop this is to stop the process "Thunar" or "Thunar --daemon-xxx".
  2. If Thunar is lauched via the terminal, then the behavior is as it should be. If Thunar is closed, the directory is unmounted after timeout and not remounted again.
  3. In order to monitor the automounter actions this command should be executed as root in a separate terminal: automount -f -v -t 10

Expected outcome

Once an automounted directory is left or Thunar closed, the directory should be unmounted after timeout and NOT remounted again.

Additional information

I found this issue after an update to the above mentioned new version. Older versions of Thunar did not show this effect. Thank you for your great work.