Comment 0 for bug 207579

Revision history for this message
Per Osbeck (perosb) wrote :

Binary package hint: dspam

dspam-3.6.8-5ubuntu1.2 fails running daily cronjob:

/etc/cron.daily/libdspam7-drv-mysql:
error: Found option without preceding group in config file: /var/run/libdspam7-drv-mysql.cron.passwd at line: 1
Fatal error in defaults handling. Program aborted

the cronjob generates a .passwd file that should contain mysql password.
if should look like this:
[client]
password=mypassword

but it looks like:
-e [client]
password=mypassword

so in the /etc/cron.daily/libdspam7-drv-mysql file there is a line generating this
echo -e "[client]\npassword=$MYSQL_PASS" > "$MYSQLCONF_PASSWD"

apparently -e also gets echoed for some reason.
Removing -e generates a correct file _with_ \n interpreted as newline.

this is on an up to date Gutsy server.