Mailing List Archive

[Bug 3190] New: spamd/sa-learn can't start under chroot/su
http://bugzilla.spamassassin.org/show_bug.cgi?id=3190

Summary: spamd/sa-learn can't start under chroot/su
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P5
Component: spamc/spamd
AssignedTo: spamassassin-dev@incubator.apache.org
ReportedBy: andy@demos.su


In 2.6x versions of spamd/sa-learn there was a

eval 'exec /usr/local/bin/perl -T -w -S $0 ${1+"$@"}' if 0;

string at the beginning of each script file. Now it is not.
And when you try to start the process as

chroot /dir /bin/su - user /path/to/spamd OPTIONS

the starting procedure failes. If one adds this eval, all starts
as before.

What was the reason for deleting this eval from the code?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.