Comment 4 for bug 1434023

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2015-04-14 13:29 EDT-------
From the logs, update-grub seems finished.
Question is: is anything done later, to create that apparently hang scenario?

...
Setting up kexec-tools (1:2.0.7-5ubuntu2) ...
...
Generating grub configuration file ...
...
done

<STUCK>

Checking in binary package..
Ah, yes - there are more things done after update-grub ('Automatically added' snippets).

# apt-get download kexec-tools
# dpkg-deb -e kexec-tools_1%3a2.0.7-5ubuntu2_ppc64el.deb bin-pkg

# cat bin-pkg/postinst
...

# ------------------------- Debconf questions end ---------------------

# no triggers in grub2,
# see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481542
if [ -x /usr/sbin/update-grub ] && [ -e /boot/grub/grub.cfg ]; then
update-grub
fi

# Automatically added by dh_installinit
if [ -x "/etc/init.d/kexec" ]; then
update-rc.d kexec defaults >/dev/null
fi
if [ -x "/etc/init.d/kexec" ] || [ -e "/etc/init/kexec.conf" ]; then
invoke-rc.d kexec start || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/kexec-load" ]; then
update-rc.d kexec-load defaults >/dev/null
fi
if [ -x "/etc/init.d/kexec-load" ] || [ -e "/etc/init/kexec-load.conf" ]; then
invoke-rc.d kexec-load start || exit $?
fi
# End automatically added section

exit 0

You can try reproducing them by hand, and see if any does hang.