severity 387136 normal thanks hi michael,
On Tue, 2006-09-12 at 14:34 +0200, Michael Ablassmeier wrote:
> as with 1.8.21 dbconfig-load-include always returns the default variable
> names, no matter what varname is specified. It also fails to provide the
> data:
what exactly are you trying to do? dbconfig-load-include is for reading
in configuration files to preseed dbconfig-common when migrating from a
previously non-dbconfig-using package. if you're trying to generate a
config file based on the dbconfig-common configuration, you should be
using dbconfig-generate-include.
> kida:/home/abi# dbconfig-load-include
> /etc/dbconfig-common/zabbix-server-mysql.conf -f sh -pfoo
> dbc_dbpass=''
>
> kida:/home/abi# grep dbc_dbpass /etc/dbconfig-common/zabbix-server-mysql.conf
> # dbc_dbpass: database user password
> dbc_dbpass="mydamsecurepasswordisset"
this is the intended behaviour, though the file should be the last
argument (i think getopt is covering for this anyway, though). what
you're saying is:
- read the input file /etc/dbconfig-common/zabbix-server-mysql.conf
- the input file is in sh format
- use the variable named "foo" in this file as the default password
again, i'm pretty sure you want to be using dbconfig-generate-include.
> severity grave as this may break installation of other packages.
i'll be downgrading the bug for the moment until i'm convinced that it
really is a bug.
sean
signature.asc
Description: This is a digitally signed message part

