Jean Charles Delepine wrote:
"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
I'll take this out. It is more hassle than it is really worth. Also, we are
probably
going to use dbconfig-common post-etch.
Bye
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]