Package: console-tools Version: 1:0.2.3dbs-65.1 Severity: important Hi!
I'm having issues with non-interactively upgrading console-tools to lenny. I've pinned it down to that it might be somehwat related to #563591 - only that this doesn't fail on me but: #v+ 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 VT="yes" reset_vga_palette fi fi [ $VT = "no" ] && return 0 #v- This though isn't an interactive session, running unattained upgrades in a vmware. The script sees /dev/console as fd 0 and thus thinks it's on virtual console. So far, so bad. Later in that setup function the following is called: #v+ # Go to UTF-8 mode as necessary # ENV_FILE='' [ -r /etc/environment ] && ENV_FILE="/etc/environment" [ -r /etc/default/locale ] && ENV_FILE="/etc/default/locale" [ "$ENV_FILE" ] && CHARMAP=$(set -a && . "$ENV_FILE" && locale charmap) if test "$CHARMAP" = "UTF-8" then unicode_start 2> /dev/null || true else unicode_stop 2> /dev/null|| true fi #v- Now unicode_stop is called in our case but it doesn't matter - both do Call /usr/bin/vt-is-UTF8 --quiet. This unfortunately happily hangs while waiting to read anything from /dev/ttyS0 ("read (3, <unfinished ...>)"), right now for about two hours. The only posibility to work around is to open the virtual console through vmware (I'm on the system via ssh currently to analyse the issue) and press enter. Given that these upgrades have to work non-interactively this is extremly inconvenient. Any hint on what can and should be done to work around the issue are highly appreciated! Thanks! Gerfried Fuchs -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org