• Antoine Beaupré's avatar
    Major redesign of the MySQL backend interface to fix a security issue. · d5a4c72e
    Antoine Beaupré authored
    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)
    d5a4c72e
Name
Last commit
Last update
aide Loading commit data...
bureau Loading commit data...
debian Loading commit data...
etc/alternc Loading commit data...
install Loading commit data...
man Loading commit data...
po Loading commit data...
src Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
COPYING Loading commit data...
README.en Loading commit data...
README.fr Loading commit data...
quota_delete Loading commit data...
quota_init Loading commit data...