[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#534587: debian-installer: Please set /etc/inittab to gracefully handle 8bit (UTF-8) environments



reassign 534587 sysvinit
tags 534587 patch
thank

> > > When you enter umlauts or other 8bit characters in the login prompt,
> > > strange effects may appear. This can be avoided by setting a parameter
> > > in /etc/inittab. See #221290 for the grory details, especially message #229.
> > > 
> > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=221290#229
> > > 
> > > Please reassign if this file (i.e. its default version) is not handled by d-i but
> > > by some other program.

From what I see on my own system, /etc/inittab is installed by the
sysvinit package. From sysvinit.postinst:

if [ ! -f /etc/inittab ]
then
        cp -p /usr/share/sysvinit/inittab /etc/inittab
fi


So, the file to change should then be /usr/share/sysvinit/inittab.

...and this bug should then be reassigned to sysvinit.

What I don't understand is that #221290 is closed and was closed by an
upload of util-linux (which provides getty).

Proposed (untested) patch attached

diff -Nru sysvinit-2.86.ds1.old/debian/share/inittab sysvinit-2.86.ds1/debian/share/inittab
--- sysvinit-2.86.ds1.old/debian/share/inittab	2009-07-03 05:59:22.166453268 +0200
+++ sysvinit-2.86.ds1/debian/share/inittab	2009-07-03 06:00:44.430453082 +0200
@@ -51,12 +51,12 @@
 # Note that on most Debian systems tty7 is used by the X Window System,
 # so if you want to add more getty's go ahead but skip tty7 if you run X.
 #
-1:2345:respawn:/sbin/getty 38400 tty1
-2:23:respawn:/sbin/getty 38400 tty2
-3:23:respawn:/sbin/getty 38400 tty3
-4:23:respawn:/sbin/getty 38400 tty4
-5:23:respawn:/sbin/getty 38400 tty5
-6:23:respawn:/sbin/getty 38400 tty6
+1:2345:respawn:/sbin/getty -8 38400 tty1
+2:23:respawn:/sbin/getty -8 38400 tty2
+3:23:respawn:/sbin/getty -8 38400 tty3
+4:23:respawn:/sbin/getty -8 38400 tty4
+5:23:respawn:/sbin/getty -8 38400 tty5
+6:23:respawn:/sbin/getty -8 38400 tty6
 
 # Example how to put a getty on a serial line (for a terminal)
 #

Attachment: signature.asc
Description: Digital signature


Reply to: