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



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to