Your message dated Sun, 22 Mar 2009 10:42:21 -0500
with message-id <[email protected]>
and subject line This has been fixed now
has caused the Debian Bug report #520073,
regarding ucf does not honor --three-way when debconf is not already running
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.)
--
520073: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520073
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ucf
Version: 3.0016
Severity: normal
Dovecot is a package whose postinst does not use debconf directly but
it calls "ucf --three-way ..."
Currently, the --three-way option is not honored at all.
Looking at the processus during the installation, I see:
23784 pts/8 Sl+ 0:14 | \_ aptitude
27025 pts/10 Ss+ 0:00 | \_ /usr/bin/dpkg --status-fd 65 --configure
hplip-data hplip hpijs linux-image-2.6.29-rc8-amd64 net-tools whois cdbs
libburn4 cdrskin dovecot-common dovecot-imapd git-cola gnuplot-nox gnuplot-x11
gnuplot libwbclient0 libsmbclient libsndfile1 libxi6 libxrandr2 linux-libc-dev
nspluginwrapper sndfile-programs texlive-common texlive-base
texlive-fonts-recommended texlive-latex-base texlive-latex-recommended texlive
texlive-fonts-recommended-doc texlive-generic-recommended
texlive-latex-base-doc texlive-latex-recommended-doc texlive-pictures
texlive-pictures-doc mencoder mplayer
28667 pts/10 S+ 0:00 | \_ /bin/sh
/var/lib/dpkg/info/dovecot-common.postinst configure 1:1.1.11-4
28668 pts/10 S+ 0:00 | \_ /usr/bin/perl -w
/usr/share/debconf/frontend /usr/bin/ucf /usr/share/dovecot/dovecot.conf
/etc/dovecot/dovecot.conf
28694 pts/10 S+ 0:00 | \_ /bin/bash /usr/bin/ucf
/usr/share/dovecot/dovecot.conf /etc/dovecot/dovecot.conf
28723 pts/10 S+ 0:00 | \_ whiptail --backtitle Outil de
[...]
You can see how ucf, called from within debconf, does not have the --three-way
switch anymore.
I did not verify, but I suspect that:
1) ucf calls getopts to manage its options (it needs it to check for
--debconf-ok at least)
getopts (and "eval set -- ...") manage and remove all options from "$@"
2) debconf is not running so it is started
=> debconf restart the script with "$@" options (so --three-way is lost)
3) ucf is run inside debconf without the --three-way option
Regards,
Vincent
-- System Information:
Debian Release: squeeze/sid
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500,
'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-rc8-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 ucf depends on:
ii coreutils 7.1-2 The GNU core utilities
ii debconf 1.5.26 Debian configuration management sy
ucf recommends no packages.
ucf suggests no packages.
-- debconf information:
* ucf/show_diff:
* ucf/changeprompt_threeway: install_new
ucf/title:
* ucf/changeprompt: install_new
--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 21 Mar 2009 00:02:03 -0500
Source: ucf
Binary: ucf
Architecture: source all
Version: 3.0017
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <[email protected]>
Changed-By: Manoj Srivastava <[email protected]>
Description:
ucf - Update Configuration File: preserve user changes to config files.
Closes: 512832
Changes:
ucf (3.0017) unstable; urgency=low
.
* [989de4e]: No longer use a non debconf method to prompt the user
Also, only run bash directly is the script has a terminal backend.
Failing that, if DISPLAY is set, try to start a terminal emulator.
If there is no tty and no DISPLAY, gibber and do nothing.
* [6e5ba1b]: Save and restore command line arguments after parsing
This way, when the script is called again under debconf, the command
line arguments are still around, and have not been eliminated during
parsing. And no, getopt was not to blame, ucf was nuking the
commandline itself.
Bug fix: "ucf was run from a maintainer script that uses debconf
[...]", thanks to Michael Prokop (Closes: #512832).
* [ea1c15d]: Stash any configuration file less than 25KB in size
Also, allow the three way merge options whenever there is a stashed
version of the file, whether or not the package maintainer has
explicitly asked for a three way capability. This way, are closer to
making three way capabilities the default, except for large
configuration files, where large is defined as 25 KB.
Checksums-Sha1:
b551289188884c2f6432223ae88948ecdf0437bd 815 ucf_3.0017.dsc
1ddb25bb1ddf06c9e52a4dfe2b5bf917641cb1f1 93256 ucf_3.0017.tar.gz
3c9b36d300bb9f7a93e67b2584d0ab2ac8d8408f 64202 ucf_3.0017_all.deb
Checksums-Sha256:
848c245de84fff5069882bcc180a4e5ea39134354d7209cb1ddb2b1095770143 815
ucf_3.0017.dsc
bea6395693d9ef792d7302519c0c64706cee12e9f870f4102b2ba71428ce7895 93256
ucf_3.0017.tar.gz
598c15a63f3eefa4d2641ee2d5c1029a1092451f4c87f6825b2f7606fea66a13 64202
ucf_3.0017_all.deb
Files:
0353e9c8a07554a35cfb325a8f5e8365 815 utils optional ucf_3.0017.dsc
a592fc2e00b275d709a493d176864170 93256 utils optional ucf_3.0017.tar.gz
deb3463e85d2a6f9f579c132b9a6a499 64202 utils optional ucf_3.0017_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAknEfc4ACgkQIbrau78kQkzulgCgihXnTX84QsMap/B0BYnGxbKw
lfgAoNKOHwZlTAo+YEy+FXYf2dgIjC2e
=KP5y
-----END PGP SIGNATURE-----
--
"If you can't dazzle them with brilliance, riddle them with bullets."
David Bedno ([email protected])
Manoj Srivastava <[email protected]> <http://www.debian.org/~srivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
--- End Message ---