Your message dated Wed, 18 Feb 2015 21:20:24 +0000 with message-id <[email protected]> and subject line Bug#504983: fixed in dbconfig-common 1.8.49 has caused the Debian Bug report #504983, regarding provide a way to use dbconfig-common with "db_capb backup" user config scripts 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.) -- 504983: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504983 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: dbconfig-common Version: 1.8.40 Severity: normal Hi, My config script ask several questions (not only the database related onces). In my config script, I use the "db_capb backup" to allow the user to go back. One of my steps is to call dbc_go. However, if the user ask dbconfig-common to go back, the script is ended. The related part is in /usr/share/dbconfig-common/dpkg/config: ################# dbc_go(){ [...] if [ $STATE -lt 1 ]; then exit 10 fi done db_set $dbc_package/internal/skip-preseed true } ################# I suggest you change this part to something as (not tested): ################# dbc_go(){ [...] if [ $STATE -lt 1 ]; then if [ "$dbc_config_use_backup" ]; then return 30 fi exit 10 fi done db_set $dbc_package/internal/skip-preseed true } ################# If so, one can call dbc_go after setting up dbc_config_use_backup=1 in the package config script and test dbc_go for a return value of 30 (same as debconf) And, if dbc_config_use_backup is not set, the behaviour is the same as before. Best regards, Vincent -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.27-1-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dbconfig-common depends on: ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy ii ucf 3.0010 Update Configuration File: preserv dbconfig-common recommends no packages. Versions of packages dbconfig-common suggests: pn virtual-mysql-client | mysql- <none> (no description available) -- debconf information excluded
--- End Message ---
--- Begin Message ---Source: dbconfig-common Source-Version: 1.8.49 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. 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. Paul Gevers <[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: SHA256 Format: 1.8 Date: Wed, 18 Feb 2015 16:12:20 +0100 Source: dbconfig-common Binary: dbconfig-common Architecture: source all Version: 1.8.49 Distribution: experimental Urgency: medium Maintainer: Paul Gevers <[email protected]> Changed-By: Paul Gevers <[email protected]> Description: dbconfig-common - common framework for packaging database applications Closes: 504983 570178 570332 573524 619362 708511 727653 750412 775226 Changes: dbconfig-common (1.8.49) experimental; urgency=medium . * More preseeding fixes (Closes: #619362) * Allow packages to backup during config from dbconfig-common state machine (Closes: #504983) * Convert sqlite to SQLite in description (Closes: #570332) * Quote $@ just to be safe (Closes: #750412) * Remove date from the d-g-i generated config files, to reduce any ucf noise (Closes: #727653) * Move debian packaging VCS to collab-maint * Add date string to backup filename to prevent overwriting good backup in case of issues (Closes: #708511) * Add test script and d/rules logic to install the examples for debugging (to be converted into an autopkgtest eventually) * Fix postrm script of db-test-pgsql-migration-2.0 to remove configuration file and unregister from ucf * Clean up empty directories where the SQLite database lived (Closes: #775226) * Reset password during reconfigure (Closes: #573524) * Re-register templates after database type selection (Closes: #570178) Checksums-Sha1: 33d54b1f98f0db12e996d619d60d07196a83fd82 1364 dbconfig-common_1.8.49.dsc 56ee59764840de64ba9017974b4910fc8ad04ebf 184360 dbconfig-common_1.8.49.tar.xz f4ffe7316825c2ebff50d68afb5d655f548d7803 631606 dbconfig-common_1.8.49_all.deb Checksums-Sha256: d8d8965f62fed8f0d2b040fd6b2dbafe3e54e8eabf46d57adb7c0b49d4b64d93 1364 dbconfig-common_1.8.49.dsc 184f9a7096033e1b2d4f80bf44aad41476952f09baf73788ac230e061d04416e 184360 dbconfig-common_1.8.49.tar.xz a0c1a0021ac11ab3ea5ead6f72b9a9d6f99f8ddc6abd2e0bc6faaecd6c6845b0 631606 dbconfig-common_1.8.49_all.deb Files: 11a8b49f8fe999d766a3cc6b50d6d47d 1364 admin optional dbconfig-common_1.8.49.dsc 6ddce3e10755f61ee3e302edbd780ce4 184360 admin optional dbconfig-common_1.8.49.tar.xz d62f0b72d7c46802fd2ef608369a7ab9 631606 admin optional dbconfig-common_1.8.49_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCAAGBQJU5P3YAAoJEJxcmesFvXUKwZAIAJRNEZ4dFHE9UC1qwbY9McxL +uZKqNqA5VgWH78d9cAAn9683myOmiun8grkJ5+Cnj+eHgO9uvSshBdNJT3jRdKS NHJiooyMIH8+79E3rpE0Xg49tZg0gijZi7xPFn2N8K0ZRVyqLCnNHD/YWFZj1gUh UpGfLo421pzCl7wFepzNi5EvwaFDONKoEWY6h7dq8DaP0x/YOk9I1Ol+b/rR5lET H/cTxPGV73mzfR1Tt7s+N+mnxixvFijs+1bgvpi4crjL7gxtQex0nuUn4AmKrP7I LYypI8IDpcWHYAmSMzKM723BcVVwYHBDdqty0qbuVa7Q4JB7XDPAba3fSYbHElU= =EEz/ -----END PGP SIGNATURE-----
--- End Message ---

