Subject: misc/10243: rc.d/sendmail should not exit if [ -f /etc/ ]
To: None <>
From: None <>
List: netbsd-bugs
Date: 05/31/2000 08:29:12
>Number:         10243
>Category:       misc
>Synopsis:       rc.d/sendmail should not exit if [ -f /etc/ ]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed May 31 08:30:00 PDT 2000
>Originator:     Jim Bernard
>Release:        May 30, 2000
	Speaking for myself
System: NetBSD zoo 1.4Y NetBSD 1.4Y (ZOO-$Revision: 1.52 $) #0: Fri May 26 14:58:14 MDT 2000 jim@zoo:/home/tmp/compile/sys/arch/i386/compile/ZOO i386

	/etc/rc.d/sendmail contains a clause that exits without starting
	sendmail if a file exists in /etc.  Since the script
	contains an explicit required_files setting specifying the correct
	location of the configuration file, the existence of /etc/
	is *not* an error.  There's no reason why the script should be nagging
	so insistently about either sloppy housekeeping or (more likely)
	a deliberate choice to keep either a copy or a link to
	in /etc.

	Have a link to /etc/mail/ in /etc and watch rc.d/sendmail
	refuse to start sendmail at boot time.

	Delete the check:

--- sendmail.orig	Wed May 17 03:14:07 2000
+++ sendmail	Wed May 31 09:20:29 2000
@@ -17,11 +17,6 @@
 load_rc_config $name
-# die if there's pre-8.10 configuration file
-if checkyesno sendmail && [ -f "/etc/${name}.cf" ]; then
-	err 1 "${name} was not started, move /etc/${name}.cf to /etc/mail."
 run_rc_command "$1"