update-grub hung during upgrade, blocked reading from stdin

Bug #523176 reported by Matt Zimmerman
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: grub

While installing a large-ish round of Lucid updates, the upgrade hung here:

Setting up kexec-tools (1:2.0.1-1ubuntu1) ...
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz
Found kernel: /boot/vmlinuz.old
Found kernel: /boot/vmlinuz-2.6.32-13-generic
Found kernel: /boot/vmlinuz-2.6.32-12-generic
Found kernel: /boot/vmlinuz-2.6.32-10-generic
Found kernel: /boot/vmlinuz-2.6.32-9-generic
Found kernel: /boot/vmlinuz-2.6.32-8-generic
Found kernel: /boot/vmlinuz-2.6.32-7-generic
Found kernel: /boot/vmlinuz-2.6.31-14-generic
Found GRUB 2: /boot/grub/core.img
Found kernel: /boot/memtest86+.bin

## hung here

ps showed:

 6776 pts/7 S+ 0:00 | \_ /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/kexec-tools.postinst configure 1:2.0.1-0ubuntu4
 6784 pts/7 S+ 0:00 | \_ /bin/sh /var/lib/dpkg/info/kexec-tools.postinst configure 1:2.0.1-0ubuntu4
 6786 pts/7 S+ 0:00 | \_ /bin/bash /usr/sbin/update-grub

and strace showed:
Process 6786 attached - interrupt to quit
read(0,

I had to abort the upgrade with ^C in order to continue.

ProblemType: Bug
Architecture: i386
Date: Wed Feb 17 12:42:23 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/sbin/update-grub
InterpreterPath: /bin/bash
Package: grub 0.97-29ubuntu59
ProcAttrCurrent: unconfined (enforce)
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 LC_COLLATE=C
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.32-12.16-generic
SourcePackage: grub
Uname: Linux 2.6.32-12-generic i686

Revision history for this message
Matt Zimmerman (mdz) wrote :
Revision history for this message
Matt Zimmerman (mdz) wrote :
Revision history for this message
Matt Zimmerman (mdz) wrote :

After aborting the upgrade and running apt-get -f install, the problem continues to be reproducible. I can't get kexec-tools to configure.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.