Date: Sat, 10 Mar 2001 12:05:06 +0200 (EET) From: ejk@iki.fi To: FreeBSD-gnats-submit@freebsd.org Subject: conf/25649: /etc/mail/Makefile does not source /etc/rc.conf and /etc/rc.conf.local Message-ID: <200103101005.f2AA56500608@anthrax.mumblefrotz.dyndns.org>
next in thread | raw e-mail | index | archive | help
>Number: 25649 >Category: conf >Synopsis: /etc/mail/Makefile does not source /etc/rc.conf and /etc/rc.conf.local >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 10 02:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Esa Karkkainen >Release: FreeBSD 4.2-STABLE i386 >Organization: Has exited stage left >Environment: FreeBSD 4.2-STABLE from beginning of March onwards. >Description: # grep sendmail_flags /etc/rc.conf sendmail_flags="-bd -q30m -oOA=127.0.0.1" # cat /var/run/sendmail.pid 198 /usr/sbin/sendmail -bd -q30m -oOA=127.0.0.1 # make stop # /bin/kill -TERM `head -1 /var/run/sendmail.pid` # make start (. /etc/defaults/rc.conf; if [ "${sendmail_enable}" = "YES" -a -r /etc/mail/sendmail.cf ]; then /usr/sbin/sendmail ${sendmail_flags}; fi ) # cat /var/run/sendmail.pid 531 /usr/sbin/sendmail -bd -q30m >How-To-Repeat: Update to recent 4.2-STABLE or 4.3-BETA. Add or alter sendmail_flags enviroment variable in /etc/rc.conf or /etc/rc.conf.local. Stop and start sendmail using "cd /etc/mail ; make stop ; make start" >Fix: Apply the following patch to /etc/mail/Makefile --- Makefile.orig Fri Mar 2 20:12:34 2001 +++ Makefile Fri Mar 9 21:14:12 2001 @@ -141,7 +141,7 @@ ${INSTALL} -c -m ${SHAREMODE} ${SENDMAIL_MC_CF} /etc/mail/sendmail.cf start: - (. /etc/defaults/rc.conf; \ + (. /etc/defaults/rc.conf; source_rc_confs; \ if [ "$${sendmail_enable}" = "YES" -a -r /etc/mail/sendmail.cf ];\ then \ ${SENDMAIL} $${sendmail_flags}; \ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103101005.f2AA56500608>