Subject: Re: spamd perl problems in spamassassin-2.60nb2 ?
To: None <tech-pkg@netbsd.org>
From: Christopher W. Richardson <cwr@nexthop.com>
List: tech-pkg
Date: 12/05/2003 13:04:49
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Much thanks, Klaus,

I did, indeed, forget to update pkgsrc/mk.  So, I went back and
did that, and additionally updated everything on which
spamassassin depends and everything (hopefully) that depends on
those things.

Now it does appropriately substitute @SA_SSLCERTS@, but I'm
running into another problem.  When spamd is starting, it quits
with

cwr@achilles#spamd
Insecure directory in $ENV{PATH} while running with -T switch at
/usr/pkg/lib/perl5/5.6.1/Cwd.pm line 92.

I've checked in perldiag, and it claims that this is the result
of calling a setuid or setgid script with a world writable
directory in the path.  I've confirmed that this is not the case
either for me or root.  Perhaps I'm missing something (else)
obvious, but, once again, any suggestions appreciated.

Thanks,
Chris

Klaus Heinz <k.heinz.dez.drei@onlinehome.de> writes:

> Christopher W. Richardson wrote:
> 
> > cwr@achilles#spamd -d
> > Possible unintended interpolation of @SA_SSLCERTS in string \
> > at /usr/pkg/bin/spamd line 213.
> 
> The value @SA_SSLCERTS@ (added through patches/patch-ae) has
> not been replaced with the intended value.  Did you update only
> pkgsrc/mail/spamassassin or pkgsrc/mk as well?
> 
> The Makefile in mail/spamassassin uses the somewhat new facility
> pkgsrc/mk/subst.mk to replace some strings in application files.
> I use
>   $NetBSD: subst.mk,v 1.3 2003/10/07 10:19:09 jlam Exp $
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)
Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard <http://www.gnupg.org/>

iD8DBQE/0Mi8P65RBOOHTzERAlVmAKCgIHEOVkPWLejqfk7oPlRiJD5GvACgwmyC
oOMMmDvIVI/IHag6D8j6mWo=
=Yp2V
-----END PGP SIGNATURE-----