Red Hat Bugzilla – Bug 77902
Sendmail's init script doesn't use the DAEMON var, set by /etc/sysconfig/sendmail
Last modified: 2007-04-18 12:48:27 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b)
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):
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.
Created attachment 85148 [details]
Patch file for /etc/init.d/sendmail to use $DAEMON correctly
It would be sufficient for the daemon line to be changed to the one from RedHat
daemon /usr/sbin/sendmail $([ "$DAEMON" = yes ] && echo -bd) \
$([ -n "$QUEUE" ] && echo -q$QUEUE)
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?
Florian La Roche