autofs4 doesn't timeout cifs mounted shares

Bug #502262 reported by Keith Allcock
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autofs (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: autofs

Autofs is not auto unmounting after the timeout.

I have adopted using autofs on 3 machines, a 9.20 mythbuntu, and two 9.04 crunchbang machines.
On the crunchbang machines autofs will correctly honour the information in the auto.master and timeout the mounts when not in use ('not in use' is checked via lsof for the mount).
On the 9.10 mythbuntu box however the mounts always remain active although no files are in use. Manually unmounting works correctly.
Nothing in logged by autofs in messages/syslog
I removed any switches for the timeout to see if it was my config but even the default timeout time doesn't work.
(To see what timeout was relevant I run: 'ps -elf | grep autofs', you can see the timeout switch in the command)

The config and autofs versions on all machines are the same (4.1.4+debian-2.1ubuntu2).

My config files are attached.

Revision history for this message
Keith Allcock (keith-allcock) wrote :
Revision history for this message
Keith Allcock (keith-allcock) wrote :

Forgot to mention... there is lots of forum entries on this issue dating back a long time.
There is a debian bug for the previous version of autofs which was previous closed:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=279898

Revision history for this message
Chuck Short (zulcss) wrote :

Thanks for the bug report. Can you see if you have the same problem with auotfs5?

chuck

Changed in autofs (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Keith Allcock (keith-allcock) wrote :

I had tried autofs5 before to try and resolve without success.
This time I purged autofs first.

I kept the delivered version of auto.master and added my one line to it (the difference from my previous attempt was not to remove the +auto.master line).
Restarted and the mount umounted after the default 5 mins.

So yes, autofs5 works for me now!

Chuck Short (zulcss)
Changed in autofs (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.