Your message dated Sat, 19 Nov 2005 15:48:03 +0100
with message-id <[EMAIL PROTECTED]>
and subject line dbconfig-common: dbconfig-generate-include with template file
gives an error.
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; 19 Nov 2005 14:30:31 +0000
>From [EMAIL PROTECTED] Sat Nov 19 06:30:31 2005
Return-path: <[EMAIL PROTECTED]>
Received: from openbsd.xs4all.nl ([80.126.240.96] helo=router.cacholong.nl)
by spohr.debian.org with esmtp (Exim 4.50)
id 1EdTja-0002nH-PJ
for [EMAIL PROTECTED]; Sat, 19 Nov 2005 06:30:30 -0800
Received: from monster.cacholong.nl (unknown [192.168.20.2])
by router.cacholong.nl (Postfix) with ESMTP id 7CA583AF;
Sat, 19 Nov 2005 15:29:59 +0100 (CET)
Content-Type: multipart/mixed; boundary="===============1989326425=="
MIME-Version: 1.0
From: Matthijs Mohlmann <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: dbconfig-common: dbconfig-generate-include with template file gives an
error.
X-Mailer: reportbug 3.17
Date: Sat, 19 Nov 2005 15:29:59 +0100
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
This is a multi-part MIME message sent by reportbug.
--===============1989326425==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: dbconfig-common
Version: 1.8.7
Severity: important
Tags: patch
Hi,
dbconfig-generate-include expects a input file and a template file. This
fails when you use an input file like this:
MySQLUser _DBC_DBUSER_
...
I created a patch that fixes that part of the problem.
A better solution would be: using the inputfile instead of having an
extra option "-o template_infile=..."
Regards,
Matthijs Mohlmann
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages dbconfig-common depends on:
ii debconf [debconf-2.0] 1.4.59 Debian configuration management sy
ii pwgen 2.04-1 Automatic Password generation
ii ucf 2.003 Update Configuration File: preserv
dbconfig-common recommends no packages.
-- debconf information excluded
--===============1989326425==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="dbconfig-generate-include.patch"
--- dbconfig-generate-include.orig 2005-11-19 15:13:33.691699750 +0100
+++ dbconfig-generate-include 2005-11-19 15:27:35.884333500 +0100
@@ -184,9 +184,11 @@
exit 1
fi
-if ! . $inputfile ; then
- echo "error processing $inputfile, check file contents" >&2
- exit 1
+if [ "$format" != "template" ]; then
+ if ! . $inputfile ; then
+ echo "error processing $inputfile, check file contents" >&2
+ exit 1
+ fi
fi
case $format in
--===============1989326425==--
---------------------------------------
Received: (at 339883-done) by bugs.debian.org; 19 Nov 2005 14:48:08 +0000
>From [EMAIL PROTECTED] Sat Nov 19 06:48:08 2005
Return-path: <[EMAIL PROTECTED]>
Received: from www.cacholong.nl ([80.126.52.161] helo=server.cacholong.nl)
by spohr.debian.org with esmtp (Exim 4.50)
id 1EdU0d-0005J1-Qx
for [EMAIL PROTECTED]; Sat, 19 Nov 2005 06:48:08 -0800
Received: from localhost (localhost [127.0.0.1])
by server.cacholong.nl (Postfix) with ESMTP id DAD8483674D
for <[EMAIL PROTECTED]>; Sat, 19 Nov 2005 15:48:05 +0100 (CET)
Received: from server.cacholong.nl ([127.0.0.1])
by localhost (server.cacholong.nl [127.0.0.1]) (amavisd-new, port 10024)
with LMTP id 08393-01 for <[EMAIL PROTECTED]>;
Sat, 19 Nov 2005 15:48:05 +0100 (CET)
Received: from [192.168.20.2] (unknown [192.168.20.2])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
by server.cacholong.nl (Postfix) with ESMTP id 3019B836747
for <[EMAIL PROTECTED]>; Sat, 19 Nov 2005 15:48:03 +0100 (CET)
Message-ID: <[EMAIL PROTECTED]>
Date: Sat, 19 Nov 2005 15:48:03 +0100
From: Matthijs Mohlmann <[EMAIL PROTECTED]>
User-Agent: Debian Thunderbird 1.0.7 (X11/20051017)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: Re: dbconfig-common: dbconfig-generate-include with template file
gives an error.
X-Enigmail-Version: 0.93.0.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="------------enig5BBBD5D23FB6B581769ADE86"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at cacholong.nl
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=-3.0 required=4.0 tests=BAYES_00 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig5BBBD5D23FB6B581769ADE86
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Ok,
Stupid, I need to read the documentation better. The inputfile is the
file with the dbc_* variables.
Regards,
Matthijs Mohlmann
--------------enig5BBBD5D23FB6B581769ADE86
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDfzsj2n1ROIkXqbARAhVCAKCwRYRdK37dq5WS+CbNhuEvkGELEACdFE4R
l7Yj0dq6FUk3/ehYvp5mooE=
=goj5
-----END PGP SIGNATURE-----
--------------enig5BBBD5D23FB6B581769ADE86--
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]