Subject: Re: etcupdate fails
To: None <current-users@NetBSD.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: current-users
Date: 07/05/2005 09:49:34
--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

George Michaelson --> current-users (2005-07-05 09:08:26 +1000):
> On Mon, 4 Jul 2005 17:04:20 +0100
> Rui Paulo <rpaulo@NetBSD.org> wrote:
> 
> > On 2005.07.04 17:13:56 +0000, Martin Ammermueller wrote:
> > > Hello list!
> > > 
> > > etcupdate fails to find a file called "etcsubmit.cf". Sources are
> > > from today. Relevant output of etcupdate follows:
> > 
> > known bug;
> > http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=30385
> > 
> > 		-- Rui Paulo
> > 
> 
> if you want to move on, another workaround is to have:
> 
> # no sendmail
> MKSENDMAIL=no
> # no postfix
> MKPOSTFIX=no
> 
> in /etc/mk.conf. 

`MKPOSTFIX=no' should not be needed.

Alternatively, you could use the attached patch to work around the problem.


HTH, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~

--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="etcupdate_sendmail_hack.diff"

--- src/etc/Makefile.orig	2005-05-22 16:34:20.000000000 +0200
+++ src/etc/Makefile	2005-07-05 00:10:21.000000000 +0200
@@ -326,6 +326,8 @@
 	${MAKEDIRTARGET} ${NETBSDSRCDIR}/gnu/usr.sbin/postfix configinstall
 .endif
 .if (${MKSENDMAIL} != "no")
+	${MAKEDIRTARGET} ${NETBSDSRCDIR}/gnu/usr.sbin/sendmail/cf/cf sendmail.cf
+	${MAKEDIRTARGET} ${NETBSDSRCDIR}/gnu/usr.sbin/sendmail/cf/cf etcsubmit.cf
 	${MAKEDIRTARGET} ${NETBSDSRCDIR}/gnu/usr.sbin/sendmail/cf/cf configinstall
 .endif
 

--+QahgC5+KEYLbs62--