[Debconf-devel] Bug#690755: debconf: 'dpkg-reconfigure -a' displays the adduser config questions

Philippe Le Brouster plb at nebkha.net
Wed Oct 17 10:07:01 UTC 2012


Package: debconf
Version: 1.5.46
Severity: normal

Dear Maintainer,

On fresh deboostrap of wheezy, dpkg-reconfigure -a seems to no work
properly: it always displays the debconf frontend asking about adduser
configuration even if 'yes' or 'no' is choosen.

To reproduce this bug:
  
  chroot_dir=~/chroot
  mkdir -p $chroot_dir
  sudo debootstrap wheezy $chroot_dir http://ftp.fr.debian.org/debian
  for mountpoint in proc dev sys; do
      sudo mount -o bind /$mountpoint $chroot_dir/$mountpoint
  done
  sudo chroot $chroot_dir
  dpkg-reconfigure -a


The version of debootstrap is 1.0.42 and the information below has been
gathered inside the chroot. You will find also attached  the output of ps
corresponding to the process running in the chroot.

Cheers,
Philippe Le Brouster

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF8, LC_CTYPE=en_US.UTF8 (charmap=locale: Cannot set LC_CT$
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages debconf depends on:
ii  perl-base  5.14.2-14

Versions of packages debconf recommends:
ii  apt-utils     0.9.7.5
ii  debconf-i18n  1.5.46

Versions of packages debconf suggests:
pn  debconf-doc                <none>
pn  debconf-utils              <none>
pn  libgtk2-perl               <none>
pn  libnet-ldap-perl           <none>
pn  libqtcore4-perl            <none>
pn  libqtgui4-perl             <none>
pn  libterm-readline-gnu-perl  <none>
pn  perl                       <none>
ii  whiptail                   0.52.14-10

-- debconf information:
  debconf-apt-progress/preparing:
  debconf-apt-progress/info:
  debconf/frontend: Dialog
  debconf/priority: high
  debconf-apt-progress/media-change:
  debconf-apt-progress/title:
-------------- next part --------------
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      5960  0.0  0.0  52920  1916 pts/1    S    11:49   0:00              |           |   \_ sudo chroot test/
root      5961  0.0  0.0  17844  2000 pts/1    S    11:49   0:00              |           |       \_ /bin/bash -i
root      6608  0.1  0.1  53828 10276 pts/1    S+   11:56   0:00              |           |           \_ /usr/bin/perl -w /usr/sbin/dpkg-reconfigure -a
root      6634  0.0  0.0   4164   580 pts/1    S+   11:56   0:00              |           |               \_ /bin/sh /var/lib/dpkg/info/adduser.config reconfigure 0.9.7.5
root      6638  0.0  0.0  17048  1752 pts/1    S+   11:56   0:00              |           |               \_ whiptail --backtitle Package configuration --title Adduser --output-fd 10 --defaultno --yesno -- By default, users' home directories are readable by all users on the system. If you want to increase security and privacy, you might want home  directories to be readable only for their owners. But if in doubt, leave this option enabled.  This will only affect home directories of users added from now on with the adduser command.  Do you want system-wide readable home directories? 12 148


More information about the Debconf-devel mailing list