Package: memtest86
Version: 3.2-1.1
Severity: normal
Tags: patch
Hi,
memtest86 is reading when in postinst from console if lilo should be
run or not. In case of unattended installing of memtest86+, the whole
unattended setup is halted until a key is pressed.
At this point at least DEBIAN_FRONTEND should be checked, if it is set
to "noninteractive" (see patch attached). A far better solution would be
to use debconf.
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.17.1-client
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)
-- no debconf information
--- debian/postinst.orig 2006-08-18 15:08:52.000000000 +0200
+++ debian/postinst 2006-08-18 15:05:54.000000000 +0200
@@ -4,7 +4,7 @@
# offer to run LILO
# (adapted from snippet by [EMAIL PROTECTED])
-if [ -x /sbin/lilo -a -r /etc/lilo.conf ] &&
+if [ -x /sbin/lilo -a -r /etc/lilo.conf ] && [ "${DEBIAN_FRONTEND}" !=
noninteractive ] &&
grep "image.*=.*/boot/memtest86+.bin" /etc/lilo.conf >/dev/null
then
echo "You seem to have an entry for memtest86+ in /etc/lilo.conf."