Commit Graph

10 Commits

Author SHA1 Message Date
Antoine Beaupré d5a4c72e4a Major redesign of the MySQL backend interface to fix a security issue.
See: #318.

As of now, the MySQL configuration used everywhere by AlternC is not
stored in the main configuration file (/etc/alternc/local.sh) but in a
MySQL configuration file in /etc/alternc/my.cnf, which enables us to
call mysql without exposing the password on the commandline.

The changes here are quite invasive but will allow us to factor out
the MySQL configuration better. See #364.

This includes a partial rewrite of the mysql.sh logic, which is now ran
from the postinst script (and not alternc.install) which will allow us
to actually change the MySQL root user properly. See #601.

This commit was tested like this:

 * clean install on etch (working)
 * upgrade from a clean 0.9.7 (working)
2008-04-13 04:35:19 +00:00
Antoine Beaupré 73b7746f58 add missing configuration that wasn't ran properly when installing, since initrep.sh was removed from the installation at some point. remove initrep.sh altogether since it's not required anymore. Closes: #1109. 2008-04-10 19:30:59 +00:00
Antoine Beaupré 0b976cbf5a include unconditionnaly our phpmyadmin config, because in the etch
version (2.9), config.inc.php gets called multiple times, which ends up
not including our config in later includes

Closes: #1052
2007-10-05 18:51:54 +00:00
Antoine Beaupré 233397e37a try to reload apache2 too, install symlinks for apache2 if available 2007-09-09 20:31:35 +00:00
Antoine Beaupré 7e02add2ca fix the real problem: add postfix to the sasl group in postinst, so that we don't need postfix in pre-depends 2007-01-17 20:58:16 +00:00
Antoine Beaupré 8cccd4f7bd Close #1005: make sure we have a override_php.conf link in /etc/apache/conf.d 2007-01-12 20:16:20 +00:00
Antoine Beaupré 324efcf840 placer la conf ssl au bon endroit, close #646 2006-04-26 21:13:18 +00:00
Pierre Gilles Mialon 6cbbd76c40 Typo see 646 2006-04-26 20:46:35 +00:00
Antoine Beaupré 760aeb641b corriger les liens symboliques, règle peut-être le 646 (see #646) 2006-04-26 20:24:04 +00:00
Pierre Gilles Mialon 6ca8255f49 AlternC Plugin are now part of AlternC svn repository\n Migration Phase 2 2006-04-26 12:28:53 +00:00