Bug 79986

Summary: Init-script ignores DAEMON-variable
Product: [Retired] Red Hat Linux Reporter: Andy Herrero <andy.herrero>
Component: sendmailAssignee: Florian La Roche <laroche>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
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: 2002-12-19 11:26:55 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 Andy Herrero 2002-12-18 13:46:11 UTC
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:
Always

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 17:38:42 UTC
Read the release notes and close this NOTABUG.

Comment 2 Andy Herrero 2002-12-19 11:26:55 UTC
OK. Sorry for bringing this up when it's documented.

Cheers!