Bug 79986 - Init-script ignores DAEMON-variable
Init-script ignores DAEMON-variable
Product: Red Hat Linux
Classification: Retired
Component: sendmail (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2002-12-18 08:46 EST by Andy Herrero
Modified: 2007-04-18 12:49 EDT (History)
0 users

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

Attachments (Terms of Use)

  None (edit)
Description Andy Herrero 2002-12-18 08:46:11 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461)

Description of problem:
/etc/init.d/sendmail ignores the DAEMON-variable set 
in /etc/sysconfig/sendmail. It is hard-scripted to always
run with the "-bd" argument.

Red Hat 8.0:
daemon /usr/sbin/sendmail -bd \
       $([ -n "$QUEUE" ] && echo -q$QUEUE)

Snatched from RH7.0:
daemon /usr/sbin/sendmail $([ "$DAEMON" = yes ] && echo -bd) \
       $([ -n "$QUEUE" ] && echo -q$QUEUE)

I do not want the daemon-mode on this particular machine, thus I want only to 
flush the queue every now and then.

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

How reproducible:

Steps to Reproduce:
1. Set "DAEMON=no" in /etc/sysconfig/sendmail
2. # service sendmail restart
3. Verify that the daemon is listening to tcp/25 inspite of the config.

Additional info:
Comment 1 Miloslav Trmac 2002-12-18 12:38:42 EST
Read the release notes and close this NOTABUG.
Comment 2 Andy Herrero 2002-12-19 06:26:55 EST
OK. Sorry for bringing this up when it's documented.


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