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

Bug#738286: live-config: TTY autologin via /bin/login .. <term >term 2>&1 breaks some programs requiring a real tty



Package: live-config
Version: 3.0.23-1
Severity: normal

TTY autologin in live-config (sysvinit script) rewrites inittab to use /bin/login -f username <ttyX >ttyX 2>&1 instead of getty, however this breaks some programs in the login shell (such as screen or tmux when launched by login shell bash) which require a proper terminal (TTY or Pseudo-terminal/pts).  This is because of the thing getty does is properly open the terminal, which login expects to already have been done.

Using default debian getty it is possible to use getty -a <username> which actually properly initializes the terminal.  mingetty I believe uses --autologin so there are probably differences between gettys.

-- System Information:
Debian Release: 7.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-config depends on:
ii  live-config-sysvinit [live-config-backend]  3.0.23-1

Versions of packages live-config recommends:
ii  console-tools           1:0.2.3dbs-70
ii  iproute                 20120521-3+b3
ii  keyboard-configuration  1.88
ii  live-config-doc         3.0.23-1
ii  live-tools              3.0.20-1
ii  locales                 2.13-38
ii  locales-all [locales]   2.13-38
ii  sudo                    1.8.5p2-1+nmu1
ii  user-setup              1.48

Versions of packages live-config suggests:
ii  pciutils  1:3.1.9-6
ii  wget      1.13.4-3

-- no debconf information


Reply to: