Red Hat Bugzilla – Bug 77903
sendmail start-up script doesn't not use "DAEMON" variable
Last modified: 2007-04-18 12:48:27 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020809
Description of problem:
In the /etc/init.d/sendmail, the script does not use the "DAEMON" varible when
starting the sendmail daemon:
daemon /usr/sbin/sendmail -bd /
To me, this would suggest that the "-bd" would be used regardless of the value
The result is that the value of DAEMON in /etc/sysconfig/sendmail never gets
used, and sendmail always run in DAEMON "mode".
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actual Results: Sendmail always runs with "-bd" invoked.
Expected Results: The script should read the DAEMON variable (from
/etc/sysconfig/sendmail) and apply it appropriately.
something like this:
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. Please reopen
if that does not work for you.
Florian La Roche