Package: debconf
Version: 1.4.70

a debconf-get-selections followed by a debconf-set-selections doesn't
appear to be honoured by dpkg-reconfigure.

$ dpkg-reconfigure mdadm

      answer mcw for the mail_to

$ grep MAIL_TO /etc/default/mdadm
MAIL_TO="mcw"

$ grep -C3 mail_to /var/cache/debconf/config.dat
Owners: mdadm
Flags: seen

Name: mdadm/mail_to
Template: mdadm/mail_to
Value: mcw
Owners: mdadm
Flags: seen

$ debconf-get-selections > /root/sel
$ dpkg-reconfigure mdadm

      answer root for the mail_to

$ grep MAIL_TO /etc/default/mdadm
MAIL_TO="root"
$ grep -C3 mail_to /var/cache/debconf/config.dat
Owners: mdadm
Flags: seen

Name: mdadm/mail_to
Template: mdadm/mail_to
Value: root
Owners: mdadm
Flags: seen

$ debconf-set-selections /root/sel
$ grep -C3 mail_to /var/cache/debconf/config.dat
Owners: mdadm
Flags: seen

Name: mdadm/mail_to
Template: mdadm/mail_to
Value: mcw
Owners: mdadm
Flags: seen

$ dpkg-reconfigure mdadm

      and root is the default value in the mail_to

i was expecting to see mcw as the default value in the mail_to since
that is what is in debconf's database.

thanks

matt

Linux 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 2005 i686 GNU/Linux
lrwxrwxrwx 1 root root 13 2006-02-16 11:15 /lib/libc.so.6 -> libc-2.3.6.so



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

Reply via email to