Red Hat Bugzilla – Bug 820492
automounts don't expire
Last modified: 2012-05-11 04:23:25 EDT
Description of problem:
May 10 08:55:48 mrungexp automount: expiring path /misc/itdienste
May 10 08:57:31 mrungexp automount: mounted /misc/itdienste
May 10 08:58:18 mrungexp automount: 1 remaining in /misc
May 10 08:59:33 mrungexp automount: 1 remaining in /misc
May 10 09:00:48 mrungexp automount: 1 remaining in /misc
[root@mrungexp conf.d]# fuser /misc
[root@mrungexp conf.d]# ps ax | grep 6986
6986 ? Ssl 0:01 /usr/sbin/automount --verbose --pid-file /run/autofs.pid
28896 pts/0 S+ 0:00 grep --color=auto 6986
Looks like, automount blocks itself from unmounting.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. mount a directory via automounter
2. make sure, the dir is not used
I had a problem where automounts weren't expiring for a while
on F16. I was mystified by it and couldn't work out what was
causing it after trying everything I could.
All the evidence seemed to point to something in user space
causing the reference count on mount points to be elevated
by one, which stopped the mount expiring but I couldn't find
any kernel facility that would cause that. This only happened
when the Gnome GUI was active, rebooting into run level 3
made everything work fine and building several kernels that
I had previously used when testing had the same problem.
I did a yum update today and the problem has gone away.
I still don't know what caused it.
I have a vm with the F17 beta installed on it which was
yum updated on Friday and a simple test shows that it is
There is another possibility and that is a monitoring
system may be causing the last used value to be updated
thereby causing the mount to be see as recently used.
You need to check if anything like that is happening on
Hmm, after doing an update today and rebooting, it looks good for me. Thank you!