Package: phpbb3
Version: 3.0.7-PL1-4
Severity: important

When phpbb3 is configured to use external postgresql database,
postinst script fails attempting an "su" to user postgres :
...
+ IFS=  printf %s\n GET phpbb3/remote/host
+ IFS=
 read -r _db_internal_line
+ RET=bdd-dmz
+ return 0
+ local dbhost=bdd-dmz
+ db_get phpbb3/remote/port
+ _db_cmd GET phpbb3/remote/port
+ IFS=  printf %s\n GET phpbb3/remote/port
+ IFS=
 read -r _db_internal_line
+ RET=
+ return 0
+ local dbport=
+ /usr/share/phpbb3/postgres_update_seqs.sh 
/usr/share/dbconfig-common/data/phpbb3/install/pgsql
+ su - postgres -c psql -h bdd-dmz  -d phpbb3 -q >/dev/null
Unknown id: postgres
dpkg: error processing phpbb3 (--configure):
 subprocess installed post-installation script returned error exit status 1

run_sql and postgres_update_seqs functions in 
/usr/share/phpbb3/maint-libs/dbapps-lib (line 20 and 50) should 
not su to user postgres when no such local user exists.


-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-6-xen-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages phpbb3 depends on:
ii  apache2                   2.2.16-6       Apache HTTP Server metapackage
ii  apache2-mpm-prefork [http 2.2.16-6       Apache HTTP Server - traditional n
ii  dbconfig-common           1.8.46         common framework for packaging dat
ii  debconf [debconf-2.0]     1.5.36.1       Debian configuration management sy
ii  libapache2-mod-php5       5.3.3-7        server-side, HTML-embedded scripti
ii  php5                      5.3.3-7        server-side, HTML-embedded scripti
ii  php5-cli                  5.3.3-7        command-line interpreter for the p
ii  php5-gd                   5.3.3-7        GD module for php5
ii  php5-pgsql                5.3.3-7        PostgreSQL module for php5
ii  postgresql-client         8.3.14-0lenny1 front-end programs for PostgreSQL 
ii  postgresql-client-8.3 [po 8.3.14-0lenny1 front-end programs for PostgreSQL 
ii  ucf                       3.0016         Update Configuration File: preserv

Versions of packages phpbb3 recommends:
ii  php5-imagick                 3.0.0~rc1-1 ImageMagick module for php5
ii  postfix [mail-transport-agen 2.5.5-1.1   High-performance mail transport ag

Versions of packages phpbb3 suggests:
pn  mysql-server | postgresql     <none>     (no description available)
pn  phpbb3-l10n                   <none>     (no description available)

-- Configuration Files:
/etc/phpbb3/apache.conf changed [not included]

-- debconf information excluded



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

Reply via email to