Bug 19887

Summary: /etc/rc.d/init.d/sendmail restart often doesn't
Product: [Retired] Red Hat Linux Reporter: Need Real Name <hag>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
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-11-08 21:43:12 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 Need Real Name 2000-10-26 22:48:41 UTC
Running /etc/rc.d/init.d/sendmail restart tends to leave the sendmail
daemon down.

The redhat rc daemon() function checks to see if any processes with the
daemon's name exist, and if so, will not start the daemon.  For sendmail,
this is a bad idea, as there are often queue jobs still running when the
main daemon exits.

More generally, this behavior of daemon() is questionable.  There are
probably other daemons out there that behave like this.

Comment 1 John Hardin 2000-11-08 21:43:09 UTC
This problem still exists in 6.2
"sendmail start" should probably wait a bit (15 sec) for queues to complete, and
then start blowing them away.

Comment 2 Bill Nottingham 2000-11-13 06:25:30 UTC

*** This bug has been marked as a duplicate of 20696 ***