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
--- 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