Red Hat Bugzilla – Bug 62147
automount fails to shutdown properly on reboot
Last modified: 2007-04-18 12:41:19 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020310
Description of problem:
When rebooting, the automounter dies a horrible death with messages such as:
umount2: Device or resource busy
umount: automount(pid863): not found
umount: /home: Illegal seek
umount2: Invalid argument
umount: automount(pid888): not found
umount: /local: not mounted
Similar messages appear for my other automount points.
However, /var/log/messages contains messages that would make it
seem like the automounter shut down cleanly, such as:
autofs: automount -USR2 succeeded
autofs: automount -TERM succeeded
automount: shutting down, path = /local
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Hit CTRL-ALT-DEL to reboot the computer
2. Watch the messages as services are shut down
3. When autofs is shut down, the above error messages are shown
Actual Results: The error messages listed above are shown.
Expected Results: autofs should have shut down cleanly.
Except for the unclean shutdown, the automounter seems to be working properly.
It's mounting the automount points correctly.
This should be fixed in autofs-3.1.7-27, which is a bit nicer about shutting
down the automount daemon (though you'll still get spewage if a directory can't
be unmounted because it's busy).