Package: bacula-director-pgsql
Version: 1.36.2-2
Severity: important

If postgresql's 'data' directory (/var/lib/postgres/data by default) is
located somewhere else, postinst script for bacula-director-pgsql fails. 
The reason seems to be a static entry in bacula-director-pgsql.postinst: 
        if [ "$PGSQL_HOST" = "localhost" ];  then
                patch_pg_hba "/var/lib/postgres/data/pg_hba.conf"
        fi
Of course if the 'data' directory is located somewhere else (which is the 
case here), this procedure fails and so fail installations of
bacula-director-pgsql and bacula.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages bacula-director-pgsql depends on:
ii  bacula-common                 1.36.2-2   Network backup, recovery and verif
ii  bacula-director-common        1.36.2-2   Network backup, recovery and verif
ii  debconf                       1.4.30.13  Debian configuration management sy
ii  postgresql-client             7.4.7-6    front-end programs for PostgreSQL

-- debconf information:
* bacula-director-pgsql/db_password: (password omitted)
  bacula-director-pgsql/pgsql_root_password: (password omitted)
* bacula-director-pgsql/create_tables: true
* bacula-director-pgsql/db_host: localhost
* bacula-director-pgsql/pgsql_root_username: postgres
  bacula-director-pgsql/db_user: bacula
* bacula-director-pgsql/remove_catalog_on_purge: false
  bacula-director-pgsql/drop_db: false


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

Reply via email to