Bug 9727

Summary: Minor bug (?) in the file /etc/rc.d/init.d/functions
Product: [Retired] Red Hat Linux Reporter: david
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED DEFERRED QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-28 20:49:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description david 2000-02-23 22:21:24 UTC
The mechanism used to detect if a daemon is still running is incompatible
with sendmail.  When sendmail has any number of active connections, the
command '/etc/rc.d/init.d/sendmail restart' cannot be used to restart
sendmail, since the 'daemon' function thinks that sendmail is still
running.

The problem is one of basic logic... when a deamon is stopped, its
/var/run/xxx.pid file is unlinked.  Without that file however, you don't
know which process is the parent and which are the children.

I'm not sure if this is a 'bug' or if there is simply no way to do this
'correctly', but whatever the case, it is annoying. :-)

Comment 1 Bill Nottingham 2000-02-23 23:28:59 UTC
*** Bug 9729 has been marked as a duplicate of this bug. ***

Comment 2 Bill Nottingham 2000-02-23 23:29:59 UTC
*** Bug 9728 has been marked as a duplicate of this bug. ***

Comment 3 Bill Nottingham 2000-02-28 20:49:59 UTC
This is hard to fix in the current framework; we'll look
at ways to resolve this in a future release.