Please sync dbconfig-common 1.8.38 (universe) from Debian unstable (main).

Bug #216106 reported by Daniel Hahler
6
Affects Status Importance Assigned to Milestone
dbconfig-common (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

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

 affects ubuntu/dbconfig-common
 status new
 importance wishlist
 subscribe ubuntu-release

Please sync dbconfig-common 1.8.37+nmu1 (universe) from Debian unstable (main).

Changelog since current hardy version 1.8.36:

dbconfig-common (1.8.37+nmu1) unstable; urgency=low

  * Non-maintainer upload.
  * Make database dumps non world readable (closes: #473131)

 -- Stephen Gran <email address hidden> Sat, 05 Apr 2008 10:54:47 +0100

dbconfig-common (1.8.37) unstable; urgency=low

  * Fix from Niko Tyni for dpkg-reconfigure failures due to missing database
    admin password. Thanks! (closes: #439081).
  * Fix from Niko Tyni for problems with opting out in preconfiguration
    scenarios (closes: #469728).
  * Fix from Niko Tyni for choosing a more sane default for authmethod
    with remote questions in pgsql installations (closes: #443985).
  * Remove default logfile path/dir on purge (closes: #455018).

 -- Sean Finney <email address hidden> Thu, 06 Mar 2008 23:37:03 +0100

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFIABckfAK/hT/mPgARAhVKAJwKCWJH3+eUvBVIyrwkdiF7e3THlwCdGKsZ
ZThhtbxA/Ok6raQlJANdsyE=
=VHs6
-----END PGP SIGNATURE-----

Revision history for this message
Martin Pitt (pitti) wrote :

subscribing motu-release, since this is universe.

Revision history for this message
StefanPotyra (sistpoty) wrote :

ACK.

Changed in dbconfig-common:
status: New → Confirmed
Revision history for this message
Daniel Hahler (blueyed) wrote :

1.8.38 has been released in the meantime, which adds a test suite and quite a bunch of bug fixes.

I'm setting the status back to new, because it's a new release.

Debian changelog since ACKed sync:

 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.

 -- Sean Finney <email address hidden> Fri, 11 Apr 2008 19:44:58 +0200

Changed in dbconfig-common:
status: Confirmed → New
Revision history for this message
StefanPotyra (sistpoty) wrote :

have you done any testing with it yet? (e.g. installing/purging a dbconfig-common application)?
also, can you attach a debdiff between the current version and 1.8.38? Thanks.

Revision history for this message
Daniel Hahler (blueyed) wrote :

There's a regression when purging dbconfig-common itself, marked "Pending" already:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476949

It's probably as simple as adding "|| true" to the rmdir added to debian/dbconfig-common.postrm. Here's the chunk that caused it:
--- dbconfig-common-1.8.36/debian/dbconfig-common.postrm 2007-06-18 19:07:57.000000000 +0200
+++ dbconfig-common-1.8.38/debian/dbconfig-common.postrm 2008-03-07 00:02:37.000000000 +0100
@@ -5,6 +5,9 @@
 if [ $1 = "purge" ]; then
    rm -f /etc/dbconfig-common/config || true
    rmdir /etc/dbconfig-common || true
+ # purge the default logfile/logdir
+ rm -f /var/log/dbconfig-common/dbc.log
+ rmdir --ignore-fail-on-non-empty /var/log/dbconfig-common
    # This might fail if a user has chosen not to purge a database
    rmdir --ignore-fail-on-non-empty /var/lib/dbconfig-common || true
 fi

The full debdiff is attached.
I'll ask the author about the new upload, but I can provide this particular fix also in a debdiff against 1.8.38.

Apart from that, I've tested installing and purging postfix-policyd, which worked fine.

Revision history for this message
Daniel Hahler (blueyed) wrote :
Revision history for this message
Daniel Hahler (blueyed) wrote :

A new upload to unstable is planned for the weekend, so I've picked the fix for this from SVN. Please find the debdiff against Debian unstable attached for reference.

Revision history for this message
Scott Kitterman (kitterman) wrote :

Please answer the testing question ...

Revision history for this message
Scott Kitterman (kitterman) wrote :

Ack from me to. Please upload.

Changed in dbconfig-common:
status: New → Confirmed
Revision history for this message
Daniel Hahler (blueyed) wrote :

Thanks.

Changed in dbconfig-common:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dbconfig-common - 1.8.38ubuntu1

---------------
dbconfig-common (1.8.38ubuntu1) hardy; urgency=low

  * Sync with Debian, freeze exception in LP: #216106
  * Cherrypicked rc bugfix from Debian SVN:
    - fix for package failing to purge, thanks to Michael Tautschnig for
      reporting this (closes: #476949).
  * Modify Maintainer value to match the DebianMaintainerField
    specification.

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.

dbconfig-common (1.8.37-0.1) unstable; urgency=low

  * Non-maintainer upload.
  * Set umask before dump creation (closes: #473131)

dbconfig-common (1.8.37) unstable; urgency=low

  * Fix from Niko Tyni for dpkg-reconfigure failures due to missing database
    admin password. Thanks! (closes: #439081).
  * Fix from Niko Tyni for problems with opting out in preconfiguration
    scenarios (closes: #469728).
  * Fix from Niko Tyni for choosing a more sane default for authmethod
    with remote questions in pgsql installations (closes: #443985).
  * Remove default logfile path/dir on purge (closes: #455018).

 -- Daniel Hahler <email address hidden> Tue, 22 Apr 2008 21:55:25 +0200

Changed in dbconfig-common:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.