On Fri, 8 Mar 2024, Andi Vajda wrote:

I verified that configure works again with this statement:

Sorry for the noise, the configure statement is:

$ ./configure --prefix=`pwd`/local \
--with-libssl=/home/vajda/libressl-3.8.2/local --with-libevent=/usr/pkg \
--with-path-CAfile=/usr/pkg/share/mozilla-rootcerts/cacert.pem \
--with-path-queue=/var/spool/smtpd --with-path-empty=/var/empty \
--with-path-mbox=`pwd`/local/var/mbox --with-path-socket=/var/run \ --with-path-pidfile=/var/run

and it works fine with opensmptd-7.5.0rc1.

With this configuration, the build succeeds on netbsd 10.0_rc5, but I get the same setuid failure as with 7.4.0p1 (but not with 7.3.0p2):

$ sudo ./local/sbin/smtpd -d -f /usr/pkg/etc/smtpd/smtpd.conf
info: OpenSMTPD 7.5.0-portable starting
crypto: setuid 1012: Operation not permitted
lookup: setuid 1012: Operation not permitted
scheduler: setuid 1012: Operation not permitted
dispatcher: setuid 1012: Operation not permitted
warn: lost processor: dnsbl exited abnormally
queue: setuid 1013: Operation not permitted
smtpd: setuid 1013: Operation not permitted
control: setuid 1012: Operation not permitted
Exiting

Andi..

Reply via email to