[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Re: Problemas de acceso a sql con bacula+mysql



Hi,
Just to point at a problem that we saw in the script
bacula-director-mysql.postinst.
line 66 : MYSQL_PSWD_STRING="-p\"$MYSQL_ROOT_PASSWORD\""
better to remplace with MYSQL_PSWD_STRING="-p$MYSQL_ROOT_PASSWORD".
The quote made fail the authorisation process.
line 70-71 & 82-83 & 88-89  the eval string better in only one line
without "\", some of them where take as 2 lines and made fail the scripts
Great job, thanks
pascal



Reply to: