Your message dated Tue, 16 Sep 2008 14:18:05 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Re: [Pkg-dspam-misc] Bug#498888: Missing database name in
/etc/cron.daily/libdspam7-drv-mysql
has caused the Debian Bug report #498888,
regarding Missing database name in /etc/cron.daily/libdspam7-drv-mysql
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
498888: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498888
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: libdspam7-drv-mysql
Version: 3.6.8-8.1
Severity: normal
Tags: patch
Hi,
Database name is missing in /etc/cron.daily/libdspam7-drv-mysql, which fails
with
the following error:
ERROR 1046 (3D000) at line 5: No database selected
The following patch solves the issue:
diff -urN libdspam7-drv-mysql.orig libdspam7-drv-mysql
--- libdspam7-drv-mysql.orig 2008-09-14 08:48:52.000000000 +0200
+++ libdspam7-drv-mysql 2008-09-14 08:45:21.000000000 +0200
@@ -26,7 +26,7 @@
/usr/bin/mysql --defaults-file=$MYSQLCONF_PASSWD \
--user=$MYSQL_USER $MYSQL_DB < $PURGE
else
- /usr/bin/mysql --defaults-file=$MYSQLCONF_PASSWD --host=$MYSQL_HOST
--user=$MYSQL_USER < $PURGE
+ /usr/bin/mysql --defaults-file=$MYSQLCONF_PASSWD --host=$MYSQL_HOST
--user=$MYSQL_USER $MYSQL_DB < $PURGE
fi
rm "$MYSQLCONF_PASSWD"
Cheers,
Julien
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- End Message ---
--- Begin Message ---
This is a dupe of 481755, which is fixed at -9, now in unstable.
On Sun, Sep 14 2008, Julien Valroff wrote:
> Package: libdspam7-drv-mysql
> Version: 3.6.8-8.1
> Severity: normal
> Tags: patch
>
> Hi,
>
> Database name is missing in /etc/cron.daily/libdspam7-drv-mysql, which fails
> with
> the following error:
> ERROR 1046 (3D000) at line 5: No database selected
>
> The following patch solves the issue:
>
> diff -urN libdspam7-drv-mysql.orig libdspam7-drv-mysql
> --- libdspam7-drv-mysql.orig 2008-09-14 08:48:52.000000000 +0200
> +++ libdspam7-drv-mysql 2008-09-14 08:45:21.000000000 +0200
> @@ -26,7 +26,7 @@
> /usr/bin/mysql --defaults-file=$MYSQLCONF_PASSWD \
> --user=$MYSQL_USER $MYSQL_DB < $PURGE
> else
> - /usr/bin/mysql --defaults-file=$MYSQLCONF_PASSWD --host=$MYSQL_HOST
> --user=$MYSQL_USER < $PURGE
> + /usr/bin/mysql --defaults-file=$MYSQLCONF_PASSWD --host=$MYSQL_HOST
> --user=$MYSQL_USER $MYSQL_DB < $PURGE
> fi
>
> rm "$MYSQLCONF_PASSWD"
--
KBK
--- End Message ---