Date: Tue, 22 Sep 1998 21:44:40 -0400 (EDT) From: software@kew.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: conf/8031: /etc/rc looks for /etc/sendmail.cf at startup Message-ID: <199809230144.VAA00547@kendra.ne.mediaone.net>
index | next in thread | raw e-mail
>Number: 8031
>Category: conf
>Synopsis: /etc/rc looks for /etc/sendmail.cf at startup
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 22 19:40:01 PDT 1998
>Last-Modified:
>Originator: Drew Derbyshire
>Organization:
Kendra Electronic Wonderworks
>Release: FreeBSD 2.2.7-RELEASE i386
>Environment:
standard FreeBSD 2.2.7 but with sendmail 8.9.1 installed
with "new" location for sendmail.cf of /etc/mail
>Description:
As pointed out in the sendmail 8.9.x documentation, sendmail's
configuration files are moving over the course of the next few
releases to /etc/mail. FreeBSD will lag this, of course, but
there is no reason to actively break such a configuration of
advanced releases.
Futhermore, if the system admin somehow deletes the file
and expects the rc.conf enablement of sendmail to handle
the details, no error message is issued if the file is
missing -- sendmail just doesn't start.
>How-To-Repeat:
Install sendmail with sendmail.cf in /etc/mail (must patch
source). Delete /etc/sendmail.cf. Reboot.
>Fix:
Delete the redundant check with the following patch. Note that if
the file *is* missing and needed, sendmail prints out a (useful)
nasty message about its missing file
*** rc Tue Sep 22 20:18:46 1998
--- rc.old Tue Sep 22 20:18:32 1998
***************
*** 250,256 ****
echo -n ' printer'; lpd ${lpd_flags}
fi
! if [ "X${sendmail_enable}" = X"YES" ]; then
echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags}
fi
--- 250,256 ----
echo -n ' printer'; lpd ${lpd_flags}
fi
! if [ "X${sendmail_enable}" = X"YES" -a -r /etc/sendmail.cf ]; then
echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags}
fi
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809230144.VAA00547>
