[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#282632: base-config: Appears to "hang" during an automated Welsh install



Package: base-config
Version: the one in testing
Severity: normal

While doing one of my automated localized installs, the second stage
appeared hanged.

This happened only while doing the install in Welsh language. The very same
install, with the same preseed files, work with several (if not all) other
languages.

When "hanged", switching to vt2 gives the following output for pstree:
(sorry for the bad control characters)

init,1  
  ├─atd,2377
  ├─bash,2402
  │   └─pstree,2935 -ap
  ├─cron,2380
  ├─dhclient,2168 -e -pf /var/run/dhclient.eth0.pid -lf /var/run/dhclient.eth0.leases eth0
  ├─(events/0,3)
  │   ├─(aio/0,56)
  │   ├─(ata/0,212)
  │   ├─(kacpid,5)
  │   ├─(kblockd/0,43)
  │   ├─(khelper,4)
  │   ├─(pdflush,53)
  │   └─(pdflush,54)
  ├─exim4,2367 -bd -q30m
  ├─getty,2403 38400 tty3
  ├─inetd,2373
  ├─(khubd,755)
  ├─(kjournald,258)
  ├─klogd,2336
  ├─(kseriod,192)
  ├─(ksoftirqd/0,2)
  ├─(kswapd0,55)
  ├─(scsi_eh_0,213)
  ├─(scsi_eh_1,214)
  ├─(scsi_eh_2,218)
  ├─(scsi_eh_3,220)
  ├─syslogd,2333
  └─termwrap,2396 /usr/sbin/termwrap /usr/sbin/base-config new
      └─script,2461 -q -a /var/log/base-config.log -t
          └─script,2462 -q -a /var/log/base-config.log -t
              └─base-config,2463 /usr/sbin/base-config -i
                  └─frontend,2861 -w /usr/share/debconf/frontend ./show-menu 1 new
                      └─show-menu,2867 -e ./show-menu 1 new
                          └─apt-setup,2888 -e ./menu/apt-setup new
                              └─apt-setup,2892 /usr/sbin/apt-setup probe -N
                                  └─apt-setup,2904 /usr/sbin/apt-setup probe -N
                                      └─perl,2905 -ne...

And ps:

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.2  0.1  1528  524 ?        S    14:19   0:00 init [2]  
root         2  0.0  0.0     0    0 ?        SN   14:19   0:00 [ksoftirqd/0]
root         3  0.0  0.0     0    0 ?        S<   14:19   0:00 [events/0]
root         4  0.0  0.0     0    0 ?        S<   14:19   0:00 [khelper]
root         5  0.0  0.0     0    0 ?        S<   14:19   0:00 [kacpid]
root        43  0.0  0.0     0    0 ?        S<   14:19   0:00 [kblockd/0]
root        53  0.0  0.0     0    0 ?        S    14:19   0:00 [pdflush]
root        54  0.0  0.0     0    0 ?        S    14:19   0:00 [pdflush]
root        56  0.0  0.0     0    0 ?        S<   14:19   0:00 [aio/0]
root        55  0.0  0.0     0    0 ?        S    14:19   0:00 [kswapd0]
root       192  0.0  0.0     0    0 ?        S    14:19   0:00 [kseriod]
root       212  0.0  0.0     0    0 ?        S<   14:19   0:00 [ata/0]
root       213  0.0  0.0     0    0 ?        S    14:19   0:00 [scsi_eh_0]
root       214  0.0  0.0     0    0 ?        S    14:19   0:00 [scsi_eh_1]
root       218  0.0  0.0     0    0 ?        S    14:20   0:00 [scsi_eh_2]
root       220  0.0  0.0     0    0 ?        S    14:20   0:00 [scsi_eh_3]
root       258  0.0  0.0     0    0 ?        S    14:20   0:00 [kjournald]
root       755  0.0  0.0     0    0 ?        S    14:20   0:00 [khubd]
root      2168  0.0  0.1  1700  684 ?        Ss   14:21   0:00 dhclient -e -pf /var/run/dhclient.eth0.pid -lf /var/run/dhclient.eth0.leases eth0
root      2333  0.0  0.1  1584  632 ?        Ss   14:21   0:00 /sbin/syslogd
root      2336  0.0  0.2  2484 1468 ?        Ss   14:21   0:00 /sbin/klogd
Debian-   2367  0.0  0.2  4240 1492 ?        Ss   14:21   0:00 /usr/sbin/exim4 -bd -q30m
root      2373  0.0  0.0  1520  428 ?        Ss   14:21   0:00 /usr/sbin/inetd
daemon    2377  0.0  0.1  1716  628 ?        Ss   14:21   0:00 /usr/sbin/atd
root      2380  0.0  0.1  1788  736 ?        Ss   14:21   0:00 /usr/sbin/cron
root      2396  0.0  0.2  3860 1472 tty1     Ss+  14:21   0:00 /bin/sh /usr/sbin/termwrap /usr/sbin/base-config new
root      2402  0.1  0.3  3940 1672 tty2     Rs   14:21   0:00 -bash
root      2403  0.0  0.0  1524  476 tty3     Ss+  14:21   0:00 /sbin/getty 38400 tty3
root      2461  0.0  0.0  2716  500 tty1     S+   14:21   0:00 script -q -a /var/log/base-config.log -t
root      2462 10.2  0.1  2732  616 tty1     S+   14:21   0:20 script -q -a /var/log/base-config.log -t
root      2463  0.0  0.2  3636 1272 pts/0    Ss+  14:21   0:00 /bin/sh /usr/sbin/base-config -i
root      2861  0.2  1.3  9920 7220 pts/0    S+   14:21   0:00 /usr/bin/perl -w /usr/share/debconf/frontend ./show-menu 1 new
root      2867  0.0  0.2  3648 1344 pts/0    S+   14:21   0:00 /bin/sh -e ./show-menu 1 new
root      2888  0.0  0.2  3616 1228 pts/0    S+   14:21   0:00 /bin/sh -e ./menu/apt-setup new
root      2892  0.0  0.2  3776 1472 pts/0    S+   14:21   0:00 /bin/sh /usr/sbin/apt-setup probe -N
root      2904  0.0  0.2  3776 1472 pts/0    S+   14:21   0:00 /bin/sh /usr/sbin/apt-setup probe -N
root      2905  0.0  0.2  4256 1304 pts/0    S+   14:21   0:00 perl -ne ???BEGIN { $/="\n\n"; $type=shift; $mirror=shift }???if (/Site: $mirror/ && /Archive-$type: (.*)\n/) {????print $1;????exit;???}?? ftp /usr/lib/base-config/Mirrors.masterlist
root      2936  0.0  0.1  2528  856 tty2     R+   14:24   0:00 ps auxww

At this very moment, /etc/apt/sources.list only contains a commented
entry...the only which is intended to be used (a local mirror on our network).
This mirror is obviously checked as all other installs work with it.

Killing the process numnber 2905 unhangs the install on vt1...but it is of
course not automated anymore.

I ran this with DEBCONF_DEBUG=. in case this would be similar to the problem
we had with Albanian (278276). The relevant base-config.log is attached.

I also attach all preseed files I use, in preseed-files.tar.gz. Please note
that the network settings are those on our internal network (hence the use
of a proxy server named "proxy.onera" and the mirror host which is
dris-smpsrv.onera). These preseed files (the exact same ones!) work with
other languages.

The preseed files are indeed a copy of examples we have in d-i devel tree.
The things specific to my installs are in oneranet.cfg and postinstall.cfg

(I install a locally built tasksel because I want to preseed tasksel without
having to give the localized name of tasks)

The 1st stage boot command line was:
(the is the pxelinux.cfg entry)

label desktop-auto
  kernel daily-linux-26-i386
      append initrd=26-i386.gz ramdisk_size=16384 console-keymaps-at=fr-latin9 \
          root=/dev/rd/0 init=/linuxrc rw languagechooser/language-name=Welsh \
	      countrychooser/shortlist=FR DEBCONF_PRIORITY=critical \
	          preseed/url=http://bes.onera/debian/main.cfg 
		  
		  
The files are rc2 netboot files (kernel and initrd). As the preseed files
show, the install is a testing install.		  

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)

Versions of packages base-config depends on:
ii  adduser               3.59               Add and remove users and groups
ii  apt                   0.5.27             Advanced front-end for dpkg
ii  bsdutils              1:2.12h-3          Basic utilities from 4.4BSD-Lite
ii  console-data          2002.12.04dbs-46.2 Keymaps, fonts, charset maps, fall
ii  console-tools         1:0.2.3dbs-55      Linux console and font utilities
ii  debconf               1.4.40             Debian configuration management sy
ii  debianutils           2.10.3             Miscellaneous utilities specific t
ii  gettext-base          0.14.1-6           GNU Internationalization utilities
ii  passwd                1:4.0.3-30.3       Change and administer password and

-- debconf information excluded



Reply to: