Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Re: sympa 3.4.4.3 -> strange messages in syslog
- From: Olivier Salaun - CRU <address@concealed>
- To: Oliver Thalmann <address@concealed>
- Cc: address@concealed
- Subject: Re: [sympa-users] Re: sympa 3.4.4.3 -> strange messages in syslog
- Date: Wed, 03 Mar 2004 17:03:03 +0100
Hi Oliver,
Your analysis of the problem was right.
We've patched our CVS version. Here is the patch :
http://listes.cru.fr/cgi-bin/cvsweb.cgi/sympa/src/task_manager.pl.diff?r2=1.57&r1=1.56&f=u
Thanks.
Oliver Thalmann a écrit :
i think i've found the problem[...]
in sub_execute (task_manager.pl)
there is the following code :
my $task_file = $_[0]; # task to execute
..
# positioning at the right label
$_[0] =~ /\w*\.(\w*)\..*/;
my $label = $1;
which determines the action type of the task by parsing
the full name of the taskfile
($_[0] equate $task_file)
so $1 is the string between the first and second
dot in $task_file.
now if sympa is installed in a basedirectory like /mail/sympa, everything works,
because $1 contains what task_manager.pl expects to find, as the first dot in
$task_file is "contained" in the real filename, not in a prepended directory
however, if sympa is installed in a directory which itself contains dots as i did it
(/mail/sympa-3.4.4.3), then $1 contains "4" (string between first and second
dot of the full file path), which is something task_manager.pl doesn't really like.
--
Olivier Salaun
Comite Reseau des Universites
- Re: [sympa-users] Re: sympa 3.4.4.3 -> strange messages in syslog, Olivier Salaun - CRU, 03/03/2004
Archive powered by MHonArc 2.6.19+.