Bug#464103: sasl2-bin nags pointlessly about backups on every upgrade
Steve Langasek
vorlon at debian.org
Tue Feb 5 06:17:34 UTC 2008
Package: sasl2-bin
Version: 2.1.22.dfsg1-17
Severity: important
The debconf .config script is sasl2-bin currently does:
case "$1" in
configure)
db_reset cyrus-sasl2/backup-sasldb2
ok=''
while [ ! "$ok" ]; do
db_input medium cyrus-sasl2/backup-sasldb2 || true
db_go
db_get cyrus-sasl2/backup-sasldb2
if [ "$RET" ]; then
ok=1
fi
done
;;
[...]
This causes a debconf question to be presented about upgrading to newer
database formats *every* *time* the package is upgraded. Please fix this.
Either you shouldn't be calling db_reset, or you should be calling db_input
conditionally based on the value of $2 (which is set for debconf .config
scripts the same way as for postinst scripts, IIRC).
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek at ubuntu.com vorlon at debian.org
More information about the Pkg-cyrus-sasl2-debian-devel
mailing list