From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
Description of problem:
When running 'service nfslock start', the init script does not do a check to see
if there is already another process running. Each time this command is run,
another process is spawned. When running 'service nfslock status', a new PID is
listed every time a new service/process is spawned.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.service nfslock status
3.service nfslock start
4.service nfslock status
Actual Results: You end up having multiple instances of the process running as
you initiate the service start command.
Expected Results: You should have a check run to see if there is a process
running already. If there is a process already running, the service/process
should not add another process.
I have added a check to the service init script to check if it is already running.
nfs-utils-1_0_1-2_8 has the fix.
Created attachment 88781 [details]
A patch that stop multiple statds from starting
- Added the dropping of a pid file to stop statd
from starting when there is already a process running.
- During startup, the parent now delays to ensure
the child gets started. This allow the parent to
report the correct status back to the rc init scripts.
Created attachment 88793 [details]
Red Hat Linux and Red Hat Powertools are currently no longer supported by Red
Hat, Inc. In an effort to clean up bugzilla, we are closing all bugs in MODIFIED
state for these products.
However, we do want to make sure that nothing important slips through the
cracks. If, in fact, these issues are not resolved in a current Fedora Core
Release (such as Fedora Core 5), please open a new issues stating so. Thanks.