Public bug reported:

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.

** Affects: dspam (Ubuntu)
     Importance: Undecided
         Status: New

-- 
dspam-3.6.8-5ubuntu1.2 cronjob fails for libdspam7-drv-mysql
https://bugs.launchpad.net/bugs/207579
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to