"Stefan Hornburg (Racke)" <[EMAIL PROTECTED]> écrivait (wrote) :

> Right and sorry, I'll fix that.

Thats not the only problems with your package.

 * wwsympa will not start :
     ## Check effective ID
     unless ($> eq (getpwnam('--USER--'))[2]) {
         &report::reject_report_web('intern_quiet','incorrect_server_config',{},
'','');
         &wwslog('err','Config error: wwsympa should run with UID %s (instead of
 %s)', (getpwnam('--USER--'))[2], $>);
     }
    
    In your package --USER-- is root. But wwsympa will, correctly start as 
    sympa.
    see sympa-5.2.3-0.7/debian/patch/01_owner-vs-user.dpatch
    and my debian rules for a solution.
 * no soap
   + same problem as wwsympa if the admin manage to start it
   see my package for a solution
 * if the user choose mysql and ask not to give root password as suggested 
   your package will fail. See my package for something wich works as stated.
   You will also need 05_default_database_none.dpatch and my debian/config
   test:/home/delepine# mysql mysql </dev/null
   test:/home/delepine# echo $?
   0
   test:/home/delepine# perl -e 'use DBI; $dsn = "DBI:mysql:database=mysql"; if 
($dbh = DBI->connect($dsn, "root","")) {exit 0;} else {exit 1;}' </dev/null 
2>/dev/null;
   test:/home/delepine# echo $?
   1

 * debian/config is craps. Please use diff and see my changes.
   Extract: if [ "db_hostname" = "localhost" ]; then
 * you will create arc and bounce dir in /usr/lib/sympa
    06_dont_create_arc_and_bounce.dpatch

Enough ? I have more of them.

-- 
> R : Tu vois !            || Jean Charles Delépine - Université de Picardie
> > Q : Tu crois ?          
> > > R : Ça casse l'ordre chronologique de l'échange.
> > > > Q : En quoi répondre au dessus est-il gênant ?

Reply via email to