Package: console-tools Version: 1:0.2.3dbs-67 Severity: normal The problem is in the line readlink /proc/self/fd/0 | grep -q -e /dev/vc -e '/dev/tty[^p]' -e /dev/console if 'grep' does not match, it will fail, and since 'set -e', then the script will fail.
This patch fixes the problem. --- /etc/init.d/console-screen.sh~ 2009-12-19 20:27:27.000000000 +0100 +++ /etc/init.d/console-screen.sh 2010-01-09 12:41:53.000000000 +0100 @@ -82,8 +82,7 @@ CONSOLE_TYPE=`fgconsole 2>/dev/null` || return 0 if [ ! $CONSOLE_TYPE = "serial" ] ; then - readlink /proc/self/fd/0 | grep -q -e /dev/vc -e '/dev/tty[^p]' -e /dev/console - if [ $? -eq 0 ] ; then + if readlink /proc/self/fd/0 | grep -q -e /dev/vc -e '/dev/tty[^p]' -e /dev/console ; then VT="yes" reset_vga_palette fi a. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (x86_64) Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages console-tools depends on: ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy ii libc6 2.10.2-4 Embedded GNU C Library: Shared lib ii libconsole 1:0.2.3dbs-67 Shared libraries for Linux console ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip Versions of packages console-tools recommends: ii console-common 0.7.85 basic infrastructure for text cons ii console-data 2:1.10-2 keymaps, fonts, charset maps, fall Versions of packages console-tools suggests: pn kbd-compat <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org