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é 74a3d9702a silence 'zone reload queued' messages from newest bind from etch 2007-10-04 23:53:44 +00:00
Benjamin Sonntag 1ead7e1bbb Fixing dns/nodns issue (a bug in update_domains) Fixes #772 2007-09-09 20:01:34 +00:00
Antoine Beaupré 9afbeb6015 move functions from update_domains.sh into common functions 2007-09-09 18:21:57 +00:00
Benjamin Sonntag 8a0cbf415d url are now not / : Fixes #1054 2007-08-26 20:41:32 +00:00
Antoine Beaupré 005d6379c2 Fix a race condition in update_domaines.sh that could allow users to
bypass open_basedir protections when creating domains. Reported by
jerome.

This required changing basedir_prot's behavior so that it creates the
protection even if the symlink doesn't exist, which might create extra
files that are not necessary, but "better be safe than sorry". We
could also fix this in a subsequent release.
2007-01-12 23:03:33 +00:00
Antoine Beaupré 7b9d3e8007 change proper ip even if modifying TLD, closes: #661 2006-06-23 04:05:39 +00:00
Antoine Beaupré 26f5de3d51 ne plus créer les sous-domaines par défaut a la creation d'un domaine dans update_domaines, m_dom.php:add_domain() s'en charge déjà. Closes: #719 2006-06-23 03:12:26 +00:00
Antoine Beaupré d7f9155db1 rendre apachectl silencieux, autrement on voit des messages à chaque invocation 2006-05-17 18:28:38 +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