Commit Graph

11 Commits

Author SHA1 Message Date
Antoine Beaupré 27215d1cbc add templates for the new options 2008-07-10 22:02:38 +00:00
Antoine Beaupré a62b9109ed add some of the sqlbackup options to the local.sh global configuration.
note that we discarded some suggestions options:

F_LOG: replaced with syslog
DAEMON: will be considered for inclusion later
VERBOSE/DEBUG: available through command line flags

TYPE_NAME_BACKUP and ALLOW_OVERWRITE_BACKUP are being renamed to
SQLBACKUP_TYPE and SQLBACKUP_OVERWRITE. this is to be more consistent
with the global configurations

See: #1081
2008-07-10 21:18:42 +00:00
Antoine Beaupré b6ef65ded3 also fix database user variable expansion in debian configuration. without this, it is probably not possible to change the database user from the debconf prompts 2008-04-17 23:08:10 +00:00
Antoine Beaupré 7cfa0db5ed fix mysql.cnf regexp for a last time, i hope 2008-04-14 03:22:10 +00:00
Antoine Beaupré 06166a92e2 another last minute fix about mysql.cnf parsing 2008-04-14 03:12:23 +00:00
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é d6d765eba9 properly prompt, with low priority, for the MYSQL_CLIENT parameter. AT LAST, this Closes: #1012 2007-11-15 02:53:04 +00:00
Antoine Beaupré 9ad7199f03 only reset the welcomeconfirm prompt if it gets refused so it shows up only once, on first install. See #737. This prompt should simply go away at some point, or we could modify it to tell the admin where the backups are. 2007-01-12 20:20:35 +00:00
Nahuel Angelinetti 3857dc9ad0 On passe le path d'install d'alternc en priority low, et on rajoute un warning, il faudrait rajouter de la couleur si c'est possible pour attirer l'oeil et montrer qu'il faut faire attention
Close: #785
2006-09-15 17:16:42 +00:00
Antoine Beaupré f8e5ae2d0d renverser une partie de [879], closes: #648 2006-07-05 10:07:33 +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