Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 113428

Summary: /usr/bin/spamd contains invalid buildroot paths hard coded into internal variables
Product: [Retired] Red Hat Raw Hide Reporter: Mike A. Harris <mharris>
Component: spamassassinAssignee: Chip Turner <cturner>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: csm
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:00:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mike A. Harris 2004-01-13 20:37:37 UTC
Description of problem:

From /usr/bin/spamd on an AMD64 system:

#!/usr/bin/perl -T -w

eval 'exec /usr/bin/perl -T -w -S $0 ${1+"$@"}'
    if 0; # not running under some shell
#############################################################
# The code in this file is copyright 2001 by Craig Hughes   #
# It is licensed for use with the SpamAssassin distribution #
# under the terms of the Perl Artistic License, the text of #
# which is included as the file named "License"             #
#############################################################

my $PREFIX = '/usr/src/build/311522-x86_64/install//usr';  #
substituted at 'make' time
my $DEF_RULES_DIR =
'/usr/src/build/311522-x86_64/install//usr/share/spamassassin';  #
substituted at 'make' time
my $LOCAL_RULES_DIR =
'/usr/src/build/311522-x86_64/install//etc/mail/spamassassin';  #
substituted at 'make' time
use lib
'/usr/src/build/311522-x86_64/install//usr/lib/perl5/vendor_perl/5.8.1';
# substituted at 'make' time


Same thing occurs on x86, and presumeably other architectures
as well.  I noticed this while trying to figure out why spamd
crashes on AMD64, then confirmed it on x86 as well.

Someone else is filing the bug report on it crashing on AMD64 I
believe.  I had a look, and my first guess is that it is due
to it installing its files in /usr/lib instead of /usr/lib64, which
implies that spamassassin might be broken on stock installs of
RHEL 3 on AMD64, PPC64 and s390x (assuming we ship it on those
platforms).  Nonetheless it's worth fixing.  Chuck Mead said
he'll be filing a report later on it.  Feel free to CC me on it
if you like, as I'm interested too.  ;o)



Version-Release:  2.6.0-2


TIA

Comment 1 Chuck Mead 2004-01-14 04:23:53 UTC
I have exactly the same problem on my system!

[csm@stealth csm]$ rpm -q spamassassin
spamassassin-2.60-2

Comment 2 Miloslav Trmac 2004-01-14 07:46:22 UTC
Duplicate of bug 90202.
Triage->Duplicate 90202

Comment 3 Mike A. Harris 2004-01-15 10:05:48 UTC

*** This bug has been marked as a duplicate of 90202 ***

Comment 4 Red Hat Bugzilla 2006-02-21 19:00:45 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.