Your message dated Fri, 11 Apr 2008 18:47:07 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#448804: fixed in dbconfig-common 1.8.38
has caused the Debian Bug report #448804,
regarding "warning: database package not installed?" error when using remote 
dbserver
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.)


-- 
448804: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=448804
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: dbconfig-common
Version: 1.8.36
Severity: serious
Tags: patch

Hi.

Although informing a "warning" message, there exists a little error
when going through the dbc_go function, specifically in the block that
manage creating and populating DB.
The problem shows up when you want to use a remote DB server, and you
don't have any locally installed for any reason (which is not a
requirement in some cases, as mine).

This simple patch validates if the connection uses "unix socket" to
communicate with the database,  which forces to be just a local
DBserver, and requiring DB_package as it's needed.
If the case the user wants to use TCP/IP communication even to a local
DBserver, the package dependences (the one that uses dbconfig, the one
being installed) should be in charge for requesting a
mysq-server|postgresql-server dependence, solving the whole situation.


- --- dpkg/postinst.orig       2007-06-22 12:47:10.000000000 -0300
+++ dpkg/postinst    2007-11-01 00:12:04.000000000 -0300
@@ -65,9 +65,10 @@
                        ### first things first, see if the database
package is installed,
                        ### and in case of failure provide a more
sensible error message.
                        ###
- -                       $dbc_db_installed_cmd ||
dbc_missing_db_package_error
- -                       [ "$dbc_tried_again" ] && return 0
- -
+                       if [ "$dbc_method" = "unix socket" ]; then
+                               $dbc_db_installed_cmd ||
dbc_missing_db_package_error
+                               [ "$dbc_tried_again" ] && return 0
+                       fi
                        ###
                        ### now, create the app user account
                        ###





- --- System information. ---
Architecture: amd64
Kernel: Linux 2.6.22-2-amd64

Debian Release: lenny/sid
500 testing security.debian.org
500 testing debian.torredehanoi.org

- --- Package information. ---
Depends (Version) | Installed
==========================-+-===========
ucf | 3.003
debconf (>= 0.5) | 1.5.14
OR debconf-2.0 |



Dererk

- --
[EMAIL PROTECTED]: ~$ grep -ir 'power in your hands' /proc/
/proc/version: Debian GNUine Perception

BOFH excuse #295: The Token fell out of the ring. Call us when you
find it..
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHKVxNzqYvwbbBjiQRAv2SAJ9hXoQNxIY6cpmh5cHrv2x4Vsw5vgCeKiIX
fXdmHv1vJ78/LmTw8gAChNA=
=wDMN
-----END PGP SIGNATURE-----




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

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.38.dsc
  to pool/main/d/dbconfig-common/dbconfig-common_1.8.38.dsc
dbconfig-common_1.8.38.tar.gz
  to pool/main/d/dbconfig-common/dbconfig-common_1.8.38.tar.gz
dbconfig-common_1.8.38_all.deb
  to pool/main/d/dbconfig-common/dbconfig-common_1.8.38_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: Fri, 11 Apr 2008 19:44:58 +0200
Source: dbconfig-common
Binary: dbconfig-common
Architecture: source all
Version: 1.8.38
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: 435143 448804 469832 472266 472944 472949 472993 473013 473026 475068
Changes: 
 dbconfig-common (1.8.38) unstable; urgency=low
 .
   * the "TLC" release
   * ACK NMU from Stephen Gran, thanks!
   * slight changes to the NMU diff, namely using local variables and a fix
     for a corner case where the umask might not be reset.
   * more bugs/fixes from Niko Tyni (thanks!)
     - fix for malformed log messages (closes: #472993).
     - fix for catching upgrade errors when calling dbc_dump (closes: #473026).
     - fix for empty dumps from postgres upgrades (closes: #473013).
     - fix for ucf/debconf/stdout redirection problems (closes: #435143).
     - fix for db server/client installed status differences (closes: #448804).
     - allow specifying preferred order in dbtype selection (closes: #469832).
     - find with -xtype instead of -type to allow symlinks (closes: #472944).
     - fix for allowing users to opt-in again to our help (closes: #475068).
   * update documentation wrt dbtype selection
   * centralize definition of dbc.log location
   * a test suite! now using shunit2 for unit tests, implemented some
     basic tests for logging as a proof-of-concept.
   * various fixes found from new unit tests
   * new/updated debconf translations:
     - Basque, from Piarres Beobide (closes: #472266).
     - Finnish, from Esko Arajärvi (closes: #472949).
   * lintian fixes:
     - bump standards version to 3.7.3
     - swap binary-arch and binary-indep target build scripts
     - spelling fixes in description
     - add ignore for empty directory where we instruct packages to
       place install/upgrade files and scripts
     - remove .Xc from manpages as it seems an unsupported extension.
Checksums-Sha1: 
 7979cb8ea219c90b655a6e7e06798016b8210429 881 dbconfig-common_1.8.38.dsc
 dbde17c186f6e46abd6c55def1c46f282f2b0494 336632 dbconfig-common_1.8.38.tar.gz
 7a10fb2d572609cc1a99d27ad134e778c807061e 486688 dbconfig-common_1.8.38_all.deb
Checksums-Sha256: 
 8369c84a5d297d2555bdef974ebec653d5fe3abc47654067f70e464b3cabce2f 881 
dbconfig-common_1.8.38.dsc
 c42dda5679445d3aa28153a82ed64c90a1fdd32aa05ee8d985d77e1670e10db5 336632 
dbconfig-common_1.8.38.tar.gz
 071cc956e2efdfe3601477d2030f5b43fe377108e3920c9c602afcb381d31f8f 486688 
dbconfig-common_1.8.38_all.deb
Files: 
 f1adc02a760d2310cfcb75593a9f6cb5 881 admin optional dbconfig-common_1.8.38.dsc
 24e81e648933bf428d1886cdc0849626 336632 admin optional 
dbconfig-common_1.8.38.tar.gz
 f1b6c2c4bb67c46dde8d29b0c44d6620 486688 admin optional 
dbconfig-common_1.8.38_all.deb

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

iD8DBQFH/6thynjLPm522B0RAvS6AJ9jmNB2RiKybjlkClKcHWrN4mbQVACfS1Bu
ljkqpKIQ6D9wOtZyMFLWfeE=
=PlPY
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to