Package: dbconfig-common
Version: 1.8.23
Severity: normal

Reproduction:

First, make sure the debconf priority is set to "high".

In the db-test-multidbtype-2.0 directory from
/usr/share/doc/dbconfig-common/examples edit the debian/config file. Add
the line:
        dbc_authmethod_user="password"
directly before the dbc_go line.

Build the db-test-multidbtype package with buildpackages.sh

Install db-test-multidbtype_2.0_all.deb with dpkg -i. Select "pgsql" as
the database type. You will be asked for a password for the application
user.


Expected:

The installation asks for a password, the database and user are created
and the dbc_authmethod_user variable is set to "password" in
/etc/dbconfig-common/db-test-multidbtype.conf.


Actual:

The installation asks for a password for the application user as
expected.

Errors are displayed during configuration:

dbconfig-common: writing config to
/etc/dbconfig-common/db-test-multidbtype.conf
Creating config file /etc/dbconfig-common/db-test-multidbtype.conf with
new version
creating postgres user dbtestmultidbtype:  success.
verifying creation of user: success.
creating database dbtestmultidbtype: success.
verifying database dbtestmultidbtype exists: success.
populating database via sql...  warning: ident method specified but
local account doesn't exist.
warning: ident method specified but local account doesn't exist.
done.
dbconfig-common: flushing administrative password

Additionally, the value for dbc_authmethod_user in
/etc/dbconfig-common/db-test-multidbtype.conf is incorrectly set to
"ident" instead of "password".


Note:

If the debconf priority is set to a lower level and the auth method is
asked for explicitly during the configuration, then everything works
correctly and the conf file receives the correct value for
dbc_authmethod_user.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to