Your message dated Sat, 03 Apr 2010 14:19:25 +0000
with message-id <[email protected]>
and subject line Bug#573069: fixed in dbconfig-common 1.8.46
has caused the Debian Bug report #573069,
regarding dbconfig-common: removal of postgres database and user not working
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
573069: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573069
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dbconfig-common
Version: 1.8.45
Severity: important
Tags: patch

dbconfig-common, when in pgsql mode, does not correctly drop databases and users
because it uses command line parameter -q to dropdb and dropuser, respectively,
which does not exist. in fact, such an action always results in failure.

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

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages dbconfig-common depends on:
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  ucf                           3.0025     Update Configuration File: preserv

dbconfig-common recommends no packages.

Versions of packages dbconfig-common suggests:
ii  mysql-client-5.1 [virtual-mys 5.1.41-3   MySQL database client binaries
ii  postgresql-client-8.4 [postgr 8.4.2-2+b1 front-end programs for PostgreSQL

-- debconf information:
  dbconfig-common/password-confirm: (password omitted)
  dbconfig-common/mysql/admin-pass: (password omitted)
  dbconfig-common/mysql/app-pass: (password omitted)
  dbconfig-common/pgsql/admin-pass: (password omitted)
  dbconfig-common/pgsql/app-pass: (password omitted)
  dbconfig-common/app-password-confirm: (password omitted)
  dbconfig-common/internal/reconfiguring: false
  dbconfig-common/dbconfig-upgrade: true
  dbconfig-common/remote-questions-default: false
  dbconfig-common/passwords-do-not-match:
  dbconfig-common/pgsql/authmethod-admin: ident
  dbconfig-common/db/basepath:
  dbconfig-common/pgsql/revertconf: false
  dbconfig-common/install-error: abort
  dbconfig-common/remove-error: abort
  dbconfig-common/internal/skip-preseed: false
  dbconfig-common/db/dbname:
  dbconfig-common/pgsql/no-empty-passwords:
  dbconfig-common/mysql/method: unix socket
  dbconfig-common/remember-admin-pass: false
  dbconfig-common/pgsql/admin-user: postgres
  dbconfig-common/mysql/admin-user: root
  dbconfig-common/dbconfig-reinstall: false
  dbconfig-common/remote/host:
  dbconfig-common/pgsql/manualconf:
  dbconfig-common/pgsql/changeconf: false
  dbconfig-common/remote/newhost:
  dbconfig-common/dbconfig-install: true
  dbconfig-common/pgsql/method: unix socket
  dbconfig-common/pgsql/authmethod-user:
  dbconfig-common/upgrade-error: abort
  dbconfig-common/database-type:
  dbconfig-common/dbconfig-remove: true
  dbconfig-common/missing-db-package-error: abort
  dbconfig-common/db/app-user:
  dbconfig-common/pgsql/no-user-choose-other-method:
  dbconfig-common/remote/port:
  dbconfig-common/upgrade-backup: true
  dbconfig-common/purge: false
--- /usr/share/dbconfig-common/internal/pgsql.orig      2010-03-08 
16:31:42.000000000 +0000
+++ /usr/share/dbconfig-common/internal/pgsql   2010-03-08 16:40:10.000000000 
+0000
@@ -129,8 +129,8 @@
        _dbc_psql_cmd_setup
        if [ "$dbc_ssl" ]; then PGSSLMODE="require"; fi
        extra=`_dbc_psql_cmd_args`
-       _dbc_debug "su -s /bin/sh $localuser -c \"env HOME='$_dbc_pgsql_tmpdir' 
PGPASSFILE='$_dbc_pgsql_tmpdir/.pgpass' PGSSLMODE='$PGSSLMODE' dropdb -q $extra 
$*\" 2>&1"
-       dbc_error=`su -s /bin/sh $localuser -c "env HOME='$_dbc_pgsql_tmpdir' 
PGPASSFILE='$_dbc_pgsql_tmpdir/.pgpass' PGSSLMODE='$PGSSLMODE' dropdb -q $extra 
$*" 2>&1` || retval=$?
+       _dbc_debug "su -s /bin/sh $localuser -c \"env HOME='$_dbc_pgsql_tmpdir' 
PGPASSFILE='$_dbc_pgsql_tmpdir/.pgpass' PGSSLMODE='$PGSSLMODE' dropdb $extra 
$*\" 2>&1"
+       dbc_error=`su -s /bin/sh $localuser -c "env HOME='$_dbc_pgsql_tmpdir' 
PGPASSFILE='$_dbc_pgsql_tmpdir/.pgpass' PGSSLMODE='$PGSSLMODE' dropdb $extra 
$*" 2>&1` || retval=$?
        _dbc_psql_cmd_cleanup
        return $retval
 }
@@ -161,8 +161,8 @@
        _dbc_psql_cmd_setup
        if [ "$dbc_ssl" ]; then PGSSLMODE="require"; fi
        extra=`_dbc_psql_cmd_args`
-       _dbc_debug "su -s /bin/sh $localuser -c \"env HOME='$_dbc_pgsql_tmpdir' 
PGPASSFILE='$_dbc_pgsql_tmpdir/.pgpass' PGSSLMODE='$PGSSLMODE' dropuser -q 
$extra $*\" 2>&1"
-       dbc_error=`su -s /bin/sh $localuser -c "env HOME='$_dbc_pgsql_tmpdir' 
PGPASSFILE='$_dbc_pgsql_tmpdir/.pgpass' PGSSLMODE='$PGSSLMODE' dropuser -q 
$extra $*" 2>&1` || retval=$?
+       _dbc_debug "su -s /bin/sh $localuser -c \"env HOME='$_dbc_pgsql_tmpdir' 
PGPASSFILE='$_dbc_pgsql_tmpdir/.pgpass' PGSSLMODE='$PGSSLMODE' dropuser $extra 
$*\" 2>&1"
+       dbc_error=`su -s /bin/sh $localuser -c "env HOME='$_dbc_pgsql_tmpdir' 
PGPASSFILE='$_dbc_pgsql_tmpdir/.pgpass' PGSSLMODE='$PGSSLMODE' dropuser $extra 
$*" 2>&1` || retval=$?
        _dbc_psql_cmd_cleanup
        return $retval
 }

--- End Message ---
--- Begin Message ---
Source: dbconfig-common
Source-Version: 1.8.46

We believe that the bug you reported is fixed in the latest version of
dbconfig-common, which is due to be installed in the Debian FTP archive:

dbconfig-common_1.8.46.dsc
  to main/d/dbconfig-common/dbconfig-common_1.8.46.dsc
dbconfig-common_1.8.46.tar.gz
  to main/d/dbconfig-common/dbconfig-common_1.8.46.tar.gz
dbconfig-common_1.8.46_all.deb
  to main/d/dbconfig-common/dbconfig-common_1.8.46_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sean Finney <[email protected]> (supplier of updated dbconfig-common package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 28 Mar 2010 17:14:26 +0200
Source: dbconfig-common
Binary: dbconfig-common
Architecture: source all
Version: 1.8.46
Distribution: unstable
Urgency: low
Maintainer: Sean Finney <[email protected]>
Changed-By: Sean Finney <[email protected]>
Description: 
 dbconfig-common - common framework for packaging database applications
Closes: 546246 573069
Changes: 
 dbconfig-common (1.8.46) unstable; urgency=low
 .
   * Fix error removing postgres databases and users (Closes: #573069)
     - thanks to "J.M.Roth" <[email protected]>
   * Numerous fixes to unit test internals.
   * New unit tests covering some of the pgsql support.
   * Various misc fixes to pgsql support found by said unit tests :)
   * Fix pgsql createdb code to use template0 when encoding is specified
     - thanks to John Goerzen <[email protected]> (Closes: #546246)
   * A few quotation and unset shell variable related fixes in mysql
     support found by updated unit tests.
   * Fix zsh support with unit tests
   * Remove test/tmp directory in debian/rules clean target
Checksums-Sha1: 
 d7b2c13f3e5e7ba3b63310ce847607467ea30dea 991 dbconfig-common_1.8.46.dsc
 13be463c5f54dcc8e9391e964888aa353b1fa20d 357534 dbconfig-common_1.8.46.tar.gz
 cfad944992c45f14918aaa5867298947cb2acbb3 474034 dbconfig-common_1.8.46_all.deb
Checksums-Sha256: 
 15b5d44732b00a84bfa2f4ed6030f70f63a208c59a6538d679fc9a128aff11c6 991 
dbconfig-common_1.8.46.dsc
 f5ead9b421cbfa5e779cc94d43e109102824bd1feea9822f95080071c049c158 357534 
dbconfig-common_1.8.46.tar.gz
 aa3803a4928ba2cd5510eaad306f76d05dc4c9a394498ce3b69f720388d369bb 474034 
dbconfig-common_1.8.46_all.deb
Files: 
 ed89b8ad4a43446efe19c0f4bfe32f51 991 admin optional dbconfig-common_1.8.46.dsc
 8371aed3d627c21b984387b4a3a4c150 357534 admin optional 
dbconfig-common_1.8.46.tar.gz
 f5afee048a88044168a0b87e4ecc70e8 474034 admin optional 
dbconfig-common_1.8.46_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFLr3WYynjLPm522B0RAnhoAJ9ciq2Vx/paohmNVNffeFMVQS4uPwCfQhCq
TuSywH5xsqo0fjLGnKdUwQs=
=9emo
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to