Bug 25649

Summary: /etc/mail/Makefile does not source /etc/rc.conf and /etc/rc.conf.local
Product: Base System Reporter: Esa Karkkainen <ejk>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Esa Karkkainen 2001-03-10 10:10:01 UTC
# 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

Fix: Apply the following patch to /etc/mail/Makefile
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"
Comment 1 Peter Pentchev freebsd_committer freebsd_triage 2001-03-10 10:16:10 UTC
State Changed
From-To: open->closed

Duplicate of conf/25639.