Changelog
ucf (3.0014) unstable; urgency=low
* [bd4d0af]: Short circuit if we are purging (no need to invoke debconf)
Also, since we do not have two arguments when we are purging, move the
new file processing to after the point where we exit in purge
mode.
Bug fix: "subprocess post-removal script returned error exit status
20", thanks to Bastian Blank (Closes: #512903).
ucf (3.0013) unstable; urgency=low
* [99736cc]: Move the debconf stuff _after_ command line parsing
If it is done earlier, the DEBCONF_OK flag is not set yet. This is
majorly bad. Closes: Bug#512905
Bug fix: "ucf was run from a maintainer script that uses debconf
[...]", thanks to Michael Prokop (Closes: #512832).
* [67e17f1]: Load confmodule to define db_* commands even when !DEBCONF_OK
It is OK to load confmodule, which allows db_* commands to be defined,
since this is not what was causing the previous failure. We should
not, however, try to load the template files, which _did_ actually
cause the failure.
Bug fix: "command not found", thanks to Michael Prokop (Closes: #512833).
ucf (3.0012) unstable; urgency=low
* [29fbb69]: reset diff question after use so contents are not written to disk
Debconf does not use world readable "temporary internal
files" as Manoj hypothesises. Data is only written to disk if it is
left in the debconf database when the frontend (ucf) exits.
Tightening the permissions on the debconf database would break
several things including use of debconf-show in reportbug.
From 27b3c41c531016ffa506987bf4a856345992a204
Mon Sep 17 00:00:00 2001
From: Joey Hess <email address hidden>
Date: Wed, 21 Jan 2009 13:03:55 -0500
Subject: [PATCH] reset diff question after use so contents are not
written to disk
Closes: Bug#511893
* [9eb5118]: ucf uses debconf even if called without --debconf-ok and hangs
ucf, even if is called without --debconf-ok, uses debconf and
hangs if db_stop had been already called, since it tries to load
/usr/share/debconf/confmodule and loads the ucf debconf templates.
This is a minimal change, and just moves the test of DEBCONF_OK
earlier. Thanks to Robert Luberda for the report and suggested fix.
Closes: Bug#511031
* [26a61b8]: Start issueing a diagnostic if ucf is forced to not use debconf
If ucf is called without the --debconf-ok switch, and
debconf is started, issue a diagnostic, and use old style promping
on the command line. This is a policy violation, and soon the non-
debconf prompting shall be removed.
* [3ce2104]: Rearrange code for readability, and add comment blocks
Signed-off-by: Manoj Srivastava <email address hidden>
-- Ubuntu Archive Auto-Sync <email address hidden> Mon, 09 Feb 2009 08:57:21 +0000