Package: gforge-db-postgresql
Version: 5.0.2-1
Severity: normal

During installation/configuration gforge-db-postgresql asks for
various parameters including name of the fusion forge database and the
database user.

These parameters are written to /etc/fusionforge/fusionforge.conf

When the configuration files are generated (e.g. pg_hba.conf) the
parameters are read from /etc/gforge/gforge.conf -- so the actual
configuration does not fit the users choices and the configuration
files are inconsistent.

Example:

During installation the DB name "fusiondb" and the DB user "forgeuser"
were chosen:

$ grep db_* /etc/gforge/gforge.conf /etc/fusionforge/fusionforge.conf 
/etc/gforge/gforge.conf:db_host=
/etc/gforge/gforge.conf:db_port=5432
/etc/gforge/gforge.conf:db_name=gforge
/etc/gforge/gforge.conf:db_user=gforge
/etc/gforge/gforge.conf:db_password=7e098913
/etc/fusionforge/fusionforge.conf:db_host=127.0.0.1
/etc/fusionforge/fusionforge.conf:db_name=fusiondb
/etc/fusionforge/fusionforge.conf:db_user=forgeuser
/etc/fusionforge/fusionforge.conf:db_password=64f36a28
/etc/fusionforge/fusionforge.conf:sys_session_key=fb2434ecb2e43431db79d6f1c82461ba

$ head /etc/postgresql/8.4/main/pg_hba.conf
### BEGIN GFORGE BLOCK -- DO NOT EDIT
local gforge gforge md5
local gforge gforge_nss trust
local gforge gforge_mta md5

As the defaults for DB name and user are "fusionforge", and the
default values in /etc/gforge/gforge.conf are "gforge" a standard
installation using the default values is doomed to failure...

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-xen-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gforge-db-postgresql depends on:
ii  debconf [debconf-2.0]        1.5.35      Debian configuration management sy
ii  debianutils                  3.4         Miscellaneous utilities specific t
ii  gforge-common                5.0.2-1     collaborative development tool - s
ii  libdbd-pg-perl               2.17.1-2    Perl DBI driver for the PostgreSQL
ii  libdbi-perl                  1.612-1     Perl Database Interface (DBI)
ii  libhtml-parser-perl          3.66-1      collection of modules that parse H
ii  libmail-sendmail-perl        0.79.16-1   Send email from a perl script
ii  libsort-versions-perl        1.5-4       Perl module for sorting of revisio
ii  libtext-autoformat-perl      1.669002-1  module for automatic text wrapping
ii  perl [libmime-base64-perl]   5.10.1-14   Larry Wall's Practical Extraction 
ii  php5-cli                     5.3.2-2     command-line interpreter for the p
ii  postgresql                   8.4.4-2     object-relational SQL database (su
ii  postgresql-8.4               8.4.4-2     object-relational SQL database, ve
ii  ucf                          3.0025+nmu1 Update Configuration File: preserv

gforge-db-postgresql recommends no packages.

gforge-db-postgresql suggests no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to