Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 5453

Summary: autofs / killall
Product: [Retired] Red Hat Linux Reporter: gerald
Component: autofsAssignee: David Lawrence <dkl>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-09-30 14:53:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description gerald 1999-09-30 08:21:24 UTC
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"
script:

#!/bin/sh

# Bring down all unneeded services that are still running
(there shouldn't
# be any, so this is just a sanity check)

EXITCODE=0

for i in /var/lock/subsys/*; do
	# Get the subsystem name.
	subsys=${i#/var/lock/subsys/}

	# Bring the subsystem down.
	if [ -f /etc/rc.d/init.d/$subsys ]; then
	    /etc/rc.d/init.d/$subsys stop
	elif [ -f /etc/rc.d/init.d/$subsys.init ]; then
	    /etc/rc.d/init.d/$subsys.init stop
	else
		echo Warning: Could not stop \"$subsys\" \(no init
script\).
		EXITCODE=1
	fi
done

exit $EXITCODE

Comment 1 Bill Nottingham 1999-09-30 14:53:59 UTC
This is fixed in the latest autofs release in Raw Hide.