On Fri, 9 Jan 2004, H. Peter Anvin wrote: > Jim Carter wrote: > > I would really like it if, when autofs decided to forcibly unmount, it > > could kill the using processes, as in "fuser -k -m /net/host/mountpoint". > > Actually this is a general issue for unmount(8), not specific to autofs. > > But one wonders whether fuser is going to run wild... > > How on the face of planet Earth do you expect autofs should ever take > such a drastic action? This could only by a human deciding to do so, > and if so, it's not an issue for autofs, as long as human umounts are > properly handled (they should be.)
Just yesterday I had five Linux boxes hang while rebooting, while trying to shut down autofs4, because processes using the filesystems had been killed but wouldn't die. This human said, I've already decided that these machines are idle, and so I just killed the shutdown script, rather than researching more drastic action to get rid of the processes, or to find out why they weren't exiting, or to do "umount -l", etc. It's lucky that autofs is shut off before sshd, or else I would have had to visit every machine. James F. Carter Voice 310 825 2897 FAX 310 206 6673 UCLA-Mathnet; 6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA 90095-1555 Email: [EMAIL PROTECTED] http://www.math.ucla.edu/~jimc (q.v. for PGP key) _______________________________________________ autofs mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/autofs
