Bug 18382
Summary: | sendmail by default starts on workstation setups | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Conan Ford <conanford> |
Component: | sendmail | Assignee: | Florian La Roche <laroche> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | dr, panu.matilainen |
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: | 2000-11-13 15:24:54 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
Conan Ford
2000-10-05 07:07:31 UTC
Just noticed this today.. Basically it's nice to have it running to be able to *send* mail through it but it's not supposed to start it in daemon mode on workstation installations, see your /etc/sysconfig/sendmail, it says: DAEMON=no ..but the initscript still starts it as a daemon. The following patch fixes it. --- sendmail.orig Mon Nov 13 17:24:27 2000 +++ sendmail Mon Nov 13 17:24:44 2000 @@ -41,8 +41,8 @@ makemap hash /etc/mail/$i < /etc/mail/$i fi done - daemon /usr/sbin/sendmail $([ "$DAEMON" = yes ] && echo -bd) \ - $([ -n "$QUEUE" ] && echo -q$QUEUE) + action "" /usr/sbin/sendmail $([ "$DAEMON" = yes ] && echo -bd) \ + $([ -n "$QUEUE" ] && echo -q$QUEUE) RETVAL=$? echo [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sendmail daemon mode from sendmail does not have to do with how it is started from the initscripts functions Well yes my "fix" is wrong but it doesn't change the fact that sendmail gets started in daemon mode when it shouldn't. |