Bug 18382 - sendmail by default starts on workstation setups
sendmail by default starts on workstation setups
Product: Red Hat Linux
Classification: Retired
Component: sendmail (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
Depends On:
  Show dependency treegraph
Reported: 2000-10-05 03:07 EDT by Conan Ford
Modified: 2008-05-01 11:37 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-11-13 10:24:54 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 Conan Ford 2000-10-05 03:07:31 EDT
For a KDE or GNOME workstation setup, sendmail starts automatically on 
bootup.  This is a potential issue if a security problem is found in the 
future.  I can understand it being started by default for a Server setup, 
but why workstation?  Does not sendmail require configuration to work 
properly?  Then why not wait until after it has been configured before 
enabling the daemon.
Comment 1 panu.matilainen 2000-11-13 10:24:52 EST
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:
..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
-	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 -eq 0 ] && touch /var/lock/subsys/sendmail
Comment 2 Florian La Roche 2001-01-04 08:24:39 EST
daemon mode from sendmail does not have to do with how it is started
from the initscripts functions
Comment 3 panu.matilainen 2001-01-04 08:57:13 EST
Well yes my "fix" is wrong but it doesn't change the fact that sendmail gets
started in daemon mode when it shouldn't.

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