I have been working with an autofs installation that uses ~64 automounted
partitions. When we shutdown the daemon with
/etc/rc.d/init.d/autofs stop
the SysV init script issues a TERM signal to all automount
pid's at once. Apparently these processes don't do a nice
job locking their access to /etc/mtab, since we are left
with a corrupted afterwards. If this happens during a
system shutdown, other partitions then don't get unmounted
properly, forcing us into a LONG fsck at reboot, at every reboot.
Robert Bruccoleri <[EMAIL PROTECTED]> worked on a solution:
The short term solution was to add a for loop to the SysV init script
so that the automount pid's are TERMed sequentially and nicely.
But we would like to know the status of these locking problems
in the autofs daemon itself. Long term, these locking problems
should be fixed.
Have they been fixed in later versions? Here is what we are using:
uname -a
Linux aaa.bbb.com 2.0.36 #90 Tue May 18 10:16:32 PDT 1999 i686
unknown
automount -v
Linux automount version 3.1.1
Let us know if we need to provide more information.
Thanks,
---------------------------------------------------
Ari Jort [EMAIL PROTECTED]
Systems Engineer http://www.nylug.org/
VA Linux Systems http://www.valinux.com/
140 Broadway, Suite 4616
New York NY 10005