Subject: bin/10100: rc.d/sendmail does not like my upgraded system
To: None <>
From: Andrew Brown <>
List: netbsd-bugs
Date: 05/11/2000 13:51:13
>Number:         10100
>Category:       bin
>Synopsis:       rc.d/sendmail does not like my upgraded sendmail system
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 11 13:52:00 PDT 2000
>Originator:     TheMan
>Release:        1.4Y as of 2000/05/09
System: NetBSD ebola 1.4X NetBSD 1.4X (RESTON) #7: Mon May 8 16:42:28 EDT 2000 andrew@ebola:/usr/src/sys/arch/i386/compile/RESTON i386


	i cvs updated very late at night on 5/9, built it all the next
	day, upgraded /etc just before lunch today, and rebooted.  i'm
	already running a *new* sendmail, so i've already got a my local in the /etc/mail directory.  i left a symlink behind
	so that *i* can find it in /etc/ (since i'm long in
	the tooth on that thing).  the new sendmail rc.d script looks for
	this, finds it, yells at me, and doesn't start sendmail.


	# cd /etc
	# mkdir mail
	# mv mail
	# ln -s mail/
	(update /etc to -current)
	# reboot


--- sendmail-orig	Thu May 11 13:21:56 2000
+++ sendmail	Thu May 11 13:43:58 2000
@@ -19,7 +19,7 @@
 # die if there's pre-8.10 configuration file
-if [ -f "/etc/${name}.cf" ]; then
+if [ -f "/etc/${name}.cf" -a ! -f "/etc/mail/${name}.cf" ]; then
 	err 1 "${name} was not started, move /etc/${name}.cf to /etc/mail."