Subject: make build/release fails running sendmail (drop_privileges)
To: None <netbsd-help@netbsd.org>
From: Wayne Cuddy <wcuddy@crb-web.com>
List: netbsd-help
Date: 02/16/2002 23:02:19
Source version is 1.5.3.
If I do a make release the build fails attempting to execute sendmail. Here
is my output from 'make release':
------------
install -c -o root -g wheel -m 644 /home/wcuddy/netbsd/src/usr.bin/ssh/../../crypto/dist/ssh/ssh_config /home/wcuddy/netbsd/dst/etc/ssh.conf
install -c -o root -g wheel -m 644 /home/wcuddy/netbsd/src/usr.bin/ssh/../../crypto/dist/ssh/sshd_config /home/wcuddy/netbsd/dst/etc/sshd.conf
install -c -o root -g wheel -m 444 /home/wcuddy/netbsd/src/usr.bin/ssh/../../crypto/dist/ssh/moduli /home/wcuddy/netbsd/dst/etc/moduli
(cd ../gnu/usr.sbin/postfix/; make distribution)
cd /home/wcuddy/netbsd/src/gnu/usr.sbin/postfix/postfix-etc; make install
(cd ../gnu/usr.sbin/sendmail/cf/cf; make distribution)
install -c -o root -g wheel -m 444 netbsd-proto.cf /home/wcuddy/netbsd/dst/etc/mail/sendmail.cf
/home/wcuddy/netbsd/dst/usr/libexec/sendmail/sendmail -C /home/wcuddy/netbsd/dst/etc/mail/sendmail.cf -O AliasFile=/home/wcuddy/netbsd/dst/etc/mail/aliases -O DontBlameSendmail=MapInUnsafeDirPath -bi
drop_privileges: Unable to drop non-root set-user-id privileges: Operation not permitted
*** Error code 71
Stop.
*** Error code 1
Stop.
--------------
Am I doing something wrong?
Thanks,
Wayne