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

Bug#425397: tasksel/pkgsel causing Etch netboot install to hang indefinitely



Hi Frans

Thanks very much for your speedy response!

I would like to add a correction which I have since discovered which I'm
sure will make a difference to the manner in which we proceed.  I
earlier suggested that this was an issue present in all systems.  Since,
then I have found some servers which do proceed as they should and
install after tasksel downloads the packages.  

However, there are still a number of systems which still hang following
the tasksel download of packages.  One such server is:

Boot method: Network netboot image
Image version: Standard etch netboot image from
http://ftp.nl.debian.org/debian/dists/etch/main/installer-i386/current/i
mages/netboot/netboot.tar.gz
Date: 21/05/07 1500hrs

Machine: IBM x3550
Processor: Intel Xeon 5160 3Ghz DC
Memory: 2Gb
Disks: 2 x 73Gb

If it helps, I could probably get this system accessible for you for
testing purposes.

Answers to your questions in relation to the tasksel issue as seen on
the above machine:

1. Full commands for the last 6 running processes:
/proc/<PID>/cmdline what the full command line is for the last 4 or 5
running processes?

24543 - udpkg --configure --force-configure pkgsel~

24544 - /bin/sh /var/lig/dpkg/info/pkgsel.postinstconfigure~

24735 - /bin/sh /bin/in-target sh -c
DEBCONF_APT_PROGRESS_DB_REPLACE="$DEBCONF_DB_REPLACE";
DEBCONF_APT_PROGRESS_DB_OVERRIDE="$DEBCONF_DB_OVERRIDE"; export
DEBCONF_APT_PROGRESS_DB_REPLACE DEBCONF_APT_PROGRESS_DB_OVERRIDE;
DEBCONF_DB_REPLACE=configdb; DEBCONF_DB_OVERRIDE='Pipe{infd:none
outfd:none}'; export DEBCONF_DB_REPLACE DEBCONF_DB_OVERRIDE; tasksel
--new-install -debconf-apt-progress=' --from 5 --to 90 --logstderr'~

24781 - log-output-tin-target chroot /target sh -c
DEBCONF_APT_PROGRESS_DB_REPLACE="$DEBCONF_DB_REPLACE";
DEBCONF_APT_PROGRESS_DB_OVERRIDE="$DEBCONF_DB_OVERRIDE"; export
DEBCONF_APT_PROGRESS_DB_REPLACE DEBCONF_APT_PROGRESS_DB_OVERRIDE;
DEBCONF_DB_REPLACE=configdb; DEBCONF_DB_OVERRIDE='Pipe{infd:none
outfd:none}'; export DEBCONF_DB_REPLACE DEBCONF_DB_OVERRIDE; tasksel
--new-install -debconf-apt-progress=' --from 5 --to 90 --logstderr'~

24782 - sh -c DEBCONF_APT_PROGRESS_DB_REPLACE="$DEBCONF_DB_REPLACE";
DEBCONF_APT_PROGRESS_DB_OVERRIDE="$DEBCONF_DB_OVERRIDE"; export
DEBCONF_APT_PROGRESS_DB_REPLACE DEBCONF_APT_PROGRESS_DB_OVERRIDE;
DEBCONF_DB_REPLACE=configdb; DEBCONF_DB_OVERRIDE='Pipe{infd:none
outfd:none}'; export DEBCONF_DB_REPLACE DEBCONF_DB_OVERRIDE; tasksel
--new-install -debconf-apt-progress=' --from 5 --to 90 --logstderr'~

24783 - /usr/bin/perl /usr/bin/tasksel --new-install
--debconf-apt-progress= --from 5 --to 90 --logstderr~

25322 - /usr/bin/perl -w /usr/share/debconf/frontend
/usr/bin/debconf-apt-progress --from 5 --to 90 --logstderr --aptitude -q
--without-recommends -y install
~t^british$~pstandard~prequired~pimportant~t^web-server$~

25324 - /usr/bin/perl -w /usr/bin/debconf-apt-progress --from 5 --to 90
--logstderr --aptitude -q --without-recommends -y install
~t^british$~pstandard~prequired~pimportant~t^web-server$~

25325 - aptitude -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o
APT::Keep-Fds::=6 -q --without-recommends -y install
~t^british$~pstandard~prequired~pimportant~t^web-server$~

25330 - /bin/sh -c /usr/sbin/dpkg-preconfigure --apt || true~

25331 - /usr/bin/perl -w /usr/sbin/dpkg-preconfigure --apt~


2. Occurrence with official mirrors
Yes this issue does occur with the official mirror.  We tested this with
ftp.uk.debian.org as the install mirror, providing both debian-installer
and base/tasksel packages.


3. Additional PKGSEL Packages
Yes this issue does occur without the addition of the pkgsel/include
package list.


4. Syslog messages
What does the syslog show is being done at the point of the hang?

May 21 16:21:27 in-target: Get:105 http://x.x.x.x etch/main php4-common
6:4.4.4-8+etch1 [206kB]
May 21 16:21:27 in-target: Get:106 http://x.x.x.x etch/main
libapache2-mod-php4 6:4.4.4-8+etch1 [159kB]
May 21 16:21:27 in-target: Get:107 http://x.x.x.x etch/main
libapache2-mod-python 3.2.10-4 [98.5kB]
May 21 16:21:27 in-target: Get:108 http://x.x.x.x etch/main
myspell-en-gb 1:2.0.4~rc1-3 [254kB]
May 21 16:21:27 in-target: Get:109 http://x.x.x.x etch/main
util-linux-locales 2.12r-19 [1086kB]
May 21 16:21:27 in-target: Get:110 http://x.x.x.x etch/main wbritish 6-2
[267kB]
May 21 16:24:36 init: Starting pid 1266, console /dev/vc/2: '/bin/sh'
May 21 16:47:48 dhclient: DHCPREQUEST on eth0 to x.x.x.x port 67
May 21 16:47:48 dhclient: DHCPACK from x.x.x.x
May 21 16:47:48 dhclient: bound to x.x.x.x -- renewal in 1800 seconds.


regards

--

William Oakley

Hosting Systems Engineer
NTT Europe Online

Direct:+44 207 767 3765
Mobile:+44 779 661 0334
Fax:   +44 207 767 3701
E-mail:will.oakley@ntt.eu

________________________________

Proprietary, privileged and/or confidential information may be contained
within this communication.
If you are not the intended recipient of this communication, please
destroy it without copying, disclosing or 
otherwise using its contents and please promptly advise the sender at
will.oakley@ntt.eu.  
Any views or opinions expressed are solely those of the author and do
not necessarily represent those
of NTT Europe Online or of NTT Communications.  Thank you.
 

> -----Original Message-----
> From: Frans Pop [mailto:elendil@planet.nl] 
> Sent: 21 May 2007 15:00
> To: Oakley, Will ; 425397@bugs.debian.org
> Subject: Re: Bug#425397: tasksel/pkgsel causing Etch netboot 
> install to hang indefinitely
> 
> On Monday 21 May 2007 15:25, Oakley, Will wrote:
> > terminates the process "/usr/bin/perl -w /usr/sbin/dpkg-preconfigure
> > --apt":
> 
> That is not the full command and does not show us which 
> package is being installed at the point of the hang. Can you 
> check in /proc/<PID>/cmdline what the full command line is 
> for the last 4 or 5 running processes?
> 
> > d-i mirror/country string enter information manually d-i 
> > mirror/http/hostname string 192.168.10.1 d-i mirror/http/directory 
> > string /etch_debian
> 
> Does the hang also occur if you use an official mirror?
> 
> > d-i pkgsel/include string afio build-essential byacc bzip2 
> chkrootkit 
> > dmalloc dosfstools dump eject ethtool expat fileutils flip 
> ftp hdparm
> [long list of packages]
> 
> Does the hang also occur without these additional packages?
> 
> What does the syslog show is being done at the point of the hang?
> 
> I suspect that some package that has had a security update is 
> now prompting on stdout/stdin, which is not allowed in the 
> installer. The package should be using debconf.
> 
> Cheers,
> FJP
> 



Reply to: