Subject: misc/20968: etcupdate & submit.cf
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Weber <Ephaeton@gmx.net>
List: netbsd-bugs
Date: 03/31/2003 20:58:08
>Number:         20968
>Category:       misc
>Synopsis:       etcupdate doesn't know about submit.cf
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 31 10:59:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Martin Weber
>Release:        NetBSD 1.6Q
>Organization:
	Entropie Erlangen
	
>Environment:
	
	
System: NetBSD phaeton.entropie.net 1.6Q NetBSD 1.6Q (FAETON) #0: Sun Mar 23 11:00:09 CET 2003 root@phaeton.entropie.net:/usr/obj/sys/arch/i386/compile/FAETON i386
Architecture: i386
Machine: i386
>Description:
	As the new sendmail was imported, a new file for mail configuration has been
	added, submit.cf. Until now, etcupdate did a great job of synching what is there
	in source, and what is needed to have your stuff running and the destdir. It
	fails for the new sendmail though, because of the ignorance of submit.cf

	It is arguable whether or not etcupdate should install that file, given
	that you might want to edit it or build a fresh one with m4 or whatever.
	Yet for the transition it sucks to have crufted a sendmail.cf and then
	watching sendmail fail because of some changes you're not up to yet.
	
>How-To-Repeat:
	go from a pre 8.12.9 (?) sendmail (the lately imported) to a post system,
	run etcupdate, and wonder why there's a file missing...
	
>Fix:
	Have etcupdate install a default submit.cf if there is a
	/etc/mail/sendmail.cf ?
	
>Release-Note:
>Audit-Trail:
>Unformatted:
 	
 	
 /usr/sbin/etcupdate:
      $NetBSD: etcupdate,v 1.12 2003/03/03 14:07:11 martti Exp $