Subject: The mailing list for listmasters using Sympa
List archive
- From: Oliver Thalmann <address@concealed>
- To: address@concealed
- Subject: Re: sympa 3.4.4.3 -> strange messages in syslog
- Date: Fri, 27 Feb 2004 17:12:05 +0100
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.
maybe this should be explicitely specified in the installation doc ?
("do not use a base-directory which contains dots")
i'm going to reinstall everything in /mail/sympa, which
will probably correct this problem (and maybe others
which i haven't seen yet)
Olivier Salaun - CRU wrote:
> I could not find related logs in our CVS tree but I think this problem
> (incorrect task creation) has been fixed in 3.4.4 release or in 4.x.
>
> Oliver Thalmann a écrit :
>
> >i've found a beginning of answer
> >
> >the generated task files in spool/task look like
> >
> >1077886032..expire_bounce._global
> >1077886032..purge_user_table._global
> >
> >comparing with my old version 3.4.3, there is clearly
> >something missing between the two dots (there should
> >be an ACTION keyword)
> >
> >
> [...]
>
> --
> Olivier Salaun
> Comite Reseau des Universites
-
sympa 3.4.4.3 -> strange messages in syslog,
Oliver Thalmann, 02/27/2004
-
Re: [sympa-users] sympa 3.4.4.3 -> strange messages in syslog,
Oliver Thalmann, 02/27/2004
-
Re: [sympa-users] Re: [sympa-users] sympa 3.4.4.3 -> strange messages in syslog,
Olivier Salaun - CRU, 02/27/2004
- Re: sympa 3.4.4.3 -> strange messages in syslog, Oliver Thalmann, 02/27/2004
-
Re: [sympa-users] Re: [sympa-users] sympa 3.4.4.3 -> strange messages in syslog,
Olivier Salaun - CRU, 02/27/2004
-
Re: [sympa-users] sympa 3.4.4.3 -> strange messages in syslog,
Oliver Thalmann, 02/27/2004
Archive powered by MHonArc 2.6.19+.