Subject: sysutils/etcupdate confusion?
To: None <tech-pkg@netbsd.org>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: tech-pkg
Date: 10/17/2003 18:01:06
Hi,

I tried to apply the pkg etcupdate to a 1.5.4 installation and got...

 (cd ../gnu/usr.sbin/sendmail/cf/cf; make distribution)
rm -f netbsd-proto.cf
(cd /usr/src/gnu/usr.sbin/sendmail/cf/cf/../../../../dist/sendmail/cf/cf
&&  m4 /usr/src/gnu/usr.sbi
n/sendmail/cf/cf/../../../../dist/sendmail/cf/m4/cf.m4
/usr/src/gnu/usr.sbin/sendmail/cf/cf/netbsd-p roto.mc >
/usr/src/gnu/usr.sbin/sendmail/cf/cf/netbsd-proto.cf) chmod 444
netbsd-proto.cf install  -c -o root -g wheel -m 444  netbsd-proto.cf
/tmp/temproot/etc/mail/sendmail.cf/tmp/temproot/usr/libexec/sendmail/se
ndmail -C /tmp/temproot/etc/mail/sendmail.cf -O AliasFile=/tmp/
temproot/etc/mail/aliases -O DontBlameSendmail=MapInUnsafeDirPath
-bi/tmp/temproot/usr/libexec/sendmail/sendmail: not found*** Error code
127
[hauke@la] / # pkg_info | grep etcupdate
etcupdate-20030509  Script to update the configuration and startup files
in /etc
[hauke@la] / # file /usr/libexec/sendmail/sendmail 
/usr/libexec/sendmail/sendmail: setuid NetBSD/m68k demand paged
executable

-- look where etcupdate expects to find sendmail! I ended up creating
a symlink where etcupdate expected sendmail. 

What exactly does etcupdate get wrong here?

	hauke