Red Hat Bugzilla – Bug 5453
autofs / killall
Last modified: 2008-05-01 11:37:51 EDT
The service name is automount but the init script is called
autofs. Hence the service is missed by "killall".
In addition, I suggest the following for the "killall"
# Bring down all unneeded services that are still running
# be any, so this is just a sanity check)
for i in /var/lock/subsys/*; do
# Get the subsystem name.
# Bring the subsystem down.
if [ -f /etc/rc.d/init.d/$subsys ]; then
elif [ -f /etc/rc.d/init.d/$subsys.init ]; then
echo Warning: Could not stop \"$subsys\" \(no init
This is fixed in the latest autofs release in Raw Hide.