Your message dated Wed, 02 Nov 2005 09:17:18 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#336156: fixed in sympa 4.1.5-7
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Oct 2005 07:26:31 +0000
>From [EMAIL PROTECTED] Fri Oct 28 00:26:31 2005
Return-path: <[EMAIL PROTECTED]>
Received: from sdcarl02.strategicdata.com.au [203.214.67.82]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EVOdC-0003d4-00; Fri, 28 Oct 2005 00:26:31 -0700
Received: from sd01 (localhost [127.0.0.1])
by mail-int.strategicdata.com.au (Postfix) with ESMTP id 11824C003574
for <[EMAIL PROTECTED]>; Fri, 28 Oct 2005 17:26:29 +1000 (EST)
Received:
from sdcarl02.strategicdata.com.au (localhost [])
by localhost ([127.0.0.1]);
Fri, 28 Oct 2005 07:26:29 +0000
Received: from carthanach.mel.strategicdata.com.au
(carthanach.mel.strategicdata.com.au [192.168.1.64])
by sdcarl02.strategicdata.com.au (Postfix) with ESMTP id D9462C003574
for <[EMAIL PROTECTED]>; Fri, 28 Oct 2005 17:26:28 +1000 (EST)
Received: by carthanach.mel.strategicdata.com.au (Postfix, from userid 1188)
id 5114F4C409A; Fri, 28 Oct 2005 17:26:28 +1000 (EST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Geoff Crompton <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: sympa install scripts incorrectly call install-mysql-db.pl
X-Mailer: reportbug 3.8
Date: Fri, 28 Oct 2005 17:26:28 +1000
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Package: sympa
Version: 4.1.5-2
Severity: important
In the postinst /usr/share/sympa/db/prepare_db is called. In prepare_db
you set OPTS to "-w $RET $OPTS" to use the debconf sympa/db_user. You
then call /usr/share/sympa/db/install-mysql-db to setup the database.
it doesn't use -w.
However install-mysql-db doesn't understand -w.
Patch is
Index: debian/db/install-mysql-db.pl
===================================================================
--- debian/db/install-mysql-db.pl (revision 4)
+++ debian/db/install-mysql-db.pl (working copy)
@@ -10,10 +10,10 @@
use Getopt::Std;
use DBI;
-use vars qw/$opt_a $opt_d $opt_u $opt_h $opt_p $opt_o/;
-getopts('a:d:u:h:p:o:') or die "$0: [EMAIL PROTECTED]";
+use vars qw/$opt_a $opt_d $opt_u $opt_h $opt_p $opt_o $opt_w/;
+getopts('a:d:u:h:p:o:w:') or die "$0: [EMAIL PROTECTED]";
-my ($adminpass, $userpass);
+my ($adminpass, $userpass, $user);
if ($opt_a && -f $opt_a) {
open(PWD, $opt_a) || die "$0: Couldn't open file $opt_a: $!\n";
@@ -35,6 +35,7 @@
my $host = $opt_h;
my $port = $opt_p;
my $options = $opt_o;
+my $user = $opt_w;
usage() if ($database eq "");
@@ -76,7 +77,7 @@
}
# Create user sympa
-my $command="GRANT ALL on $database.* TO [EMAIL PROTECTED]";
+my $command="GRANT ALL on $database.* TO [EMAIL PROTECTED]";
if ($userpass ne "") {
$command .= " IDENTIFIED BY '$userpass'";
}
@@ -84,6 +85,6 @@
$dbh->disconnect();
sub usage {
- die "Usage: install-mysql-db.pl -d <database> [-a <adminpass>] [-u
<userpass>] [-h <hostname>] [-p <port>]\n";
+ die "Usage: install-mysql-db.pl -d <database> [-a <adminpass>] [-u
<userpass>] [-h <hostname>] [-p <port>] [-w <user>]\n";
}
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
---------------------------------------
Received: (at 336156-close) by bugs.debian.org; 2 Nov 2005 17:17:33 +0000
>From [EMAIL PROTECTED] Wed Nov 02 09:17:33 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
id 1EXMEg-0006Hh-00; Wed, 02 Nov 2005 09:17:18 -0800
From: Stefan Hornburg (Racke) <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#336156: fixed in sympa 4.1.5-7
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 02 Nov 2005 09:17:18 -0800
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Source: sympa
Source-Version: 4.1.5-7
We believe that the bug you reported is fixed in the latest version of
sympa, which is due to be installed in the Debian FTP archive:
sympa_4.1.5-7.diff.gz
to pool/main/s/sympa/sympa_4.1.5-7.diff.gz
sympa_4.1.5-7.dsc
to pool/main/s/sympa/sympa_4.1.5-7.dsc
sympa_4.1.5-7_i386.deb
to pool/main/s/sympa/sympa_4.1.5-7_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stefan Hornburg (Racke) <[EMAIL PROTECTED]> (supplier of updated sympa package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 2 Nov 2005 17:50:03 +0100
Source: sympa
Binary: sympa
Architecture: source i386
Version: 4.1.5-7
Distribution: unstable
Urgency: low
Maintainer: Stefan Hornburg (Racke) <[EMAIL PROTECTED]>
Changed-By: Stefan Hornburg (Racke) <[EMAIL PROTECTED]>
Description:
sympa - Modern mailing list manager
Closes: 336156
Changes:
sympa (4.1.5-7) unstable; urgency=low
.
* database user can now specified with Debconf (Closes: #336156, thanks
to Geoff Crompton <[EMAIL PROTECTED]> for the report)
* use localhost for MySQL grant statement as default
Files:
127138b390a1321466a1039acdf26e04 602 mail optional sympa_4.1.5-7.dsc
d266b0af1ff54059f27fbab9bfa04d2e 85017 mail optional sympa_4.1.5-7.diff.gz
032fd17f71928295c5e96421357b1270 1176386 mail optional sympa_4.1.5-7_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDaPHbjgVfE5tya3ERAqeyAKCkeLgYB20DOqaZm2AbGXtK03jUkQCgqaIa
GPRLS1iGXQqMH7kOMICHWuk=
=qyRH
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]