Comment 4 for bug 988394

agenkin (agenkin-p) wrote :

I'm attaching a one-line modification to the /etc/init.d/umountfs script that fixes the problem for us. It causes umountfs to ingore /proc/mounts entries where FSTYPE is 'autofs'.

I believe that this is a correct solution because these 'autofs' entries are not the actual file systems mounted by autofs, but the mount points or directories monitored by the automount daemon. The actual autofs-mounted file systems (if any) will not be skipped over because they will appear as a separate entry in /proc/mounts and their FSTYPE is not going to be 'autofs', but whatever it is in reality ('nfs' in our case, for example).