Package: spamassassin
Version: 3.4.1-3

Hi,
on one of my systems i did an dist-upgrade and spamassassin failed to
configure due to some very strange errors (Perl HMAC SHA1 stuff). 

After diving into the problem the cause was that actually not the
shipped sa-update was called but a locally (and broken) version
in /usr/local/sbin/

The postinst should take care of not calling binarys with relative
path or relying on the PATH variable:

spamassassin.postinst
[ ... ]
 31     test -d /var/lib/spamassassin/sa-update-keys || \
 32         install -d -o $OWNER -g $GROUP -m 700 
/var/lib/spamassassin/sa-update-keys
 33 
 34     su - $OWNER -c "sa-update --gpghomedir 
/var/lib/spamassassin/sa-update-keys \
 35         --import /usr/share/spamassassin/GPG.KEY"
 36 fi
 37 
 38 #DEBHELPER#

Flo
-- 
Florian Lohoff                                                 [email protected]
      We need to self-defend - GnuPG/PGP enable your email today!

Attachment: signature.asc
Description: Digital signature

Reply via email to