FS#25720 - [autofs] never unmounts devices
Attached to Project:
Community Packages
Opened by name withheld (Gullible Jones) - Monday, 22 August 2011, 20:26 GMT
Last edited by Lukas Fleischer (lfleischer) - Friday, 02 September 2011, 10:42 GMT
Opened by name withheld (Gullible Jones) - Monday, 22 August 2011, 20:26 GMT
Last edited by Lukas Fleischer (lfleischer) - Friday, 02 September 2011, 10:42 GMT
|
Details
When running, autofs will properly mount any mountable
device as it is accessed. But when the device stops being
accessed, autofs is supposed to unmount it after the
appropriate timeout. I have yet to the current version of
autofs do this under any circumstances - devices have to be
unmounted root.
This was with autofs 5.0.6-2. FWIW I was using Thunar as a file manager - but *without* GVFS/udisks/HAL, or anything else that might have been polling the hardware all the time (AFAIK). Steps to reproduce: 1. Set autofs to automount a drive. Any drive. 2. Plug in said drive and access it with ls. 3. Wait until the timeout runs out. Wait a few more seconds, or maybe a few minutes. 4. Run df. It will show the drive still mounted. Note that I've only tested this with i686, it might also apply on x86_64... |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Friday, 02 September 2011, 10:42 GMT
Reason for closing: Not a bug
Additional comments about closing: Seems like this is a gamin issue. Check the comments.
Friday, 02 September 2011, 10:42 GMT
Reason for closing: Not a bug
Additional comments about closing: Seems like this is a gamin issue. Check the comments.
You could also try running `automount -f -d -v` to check what happens.
Edit: I'm actually unable to reproduce this now, at least on the CLI. Could it be that gamin was messing things up by polling the directories involved?
Edit again: major duh, several websites mention autofs having trouble with FAM so of course gamin is probably the issue. Sorry about this.