Bug 77902 - Sendmail's init script doesn't use the DAEMON var, set by /etc/sysconfig/sendmail
Sendmail's init script doesn't use the DAEMON var, set by /etc/sysconfig/send...
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: sendmail (Show other bugs)
8.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-11-14 19:26 EST by Jesse Keating
Modified: 2007-04-18 12:48 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-11-15 12:00:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch file for /etc/init.d/sendmail to use $DAEMON correctly (447 bytes, patch)
2002-11-14 19:28 EST, Jesse Keating
no flags Details | Diff

  None (edit)
Description Jesse Keating 2002-11-14 19:26:50 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b)
Gecko/20021029 Phoenix/0.4

Description of problem:
/etc/sysconfig/sendmail sets a DAEMON var, to tell sendmail to start with -bd or
not.  /etc/init.d/sendmail doesn't use this var, so no matter what is set,
sendmail uses -bd anyway.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install RHL
2. View /etc/init.d/sendmail
	

Actual Results:  DAEMON is not used.

Expected Results:  DAEMON value should be checked, and sendmail will be started
using the right options.

Additional info:
Comment 1 Jesse Keating 2002-11-14 19:28:18 EST
Created attachment 85148 [details]
Patch file for /etc/init.d/sendmail to use $DAEMON correctly
Comment 2 Stephen Walton 2002-11-15 12:00:12 EST
It would be sufficient for the daemon line to be changed to the one from RedHat
7.3, viz:

       daemon /usr/sbin/sendmail $([ "$DAEMON" = yes ] && echo -bd) \
                                  $([ -n "$QUEUE" ] && echo -q$QUEUE)
Comment 3 Florian La Roche 2002-11-19 02:40:29 EST
http://people.redhat.com/laroche/sendmail-8.12.6-3 has this fixed. Can you
please test if this works for you, otherwise open up a new bug-report?

Thanks,

Florian La Roche

Note You need to log in before you can comment on or make changes to this bug.