Bug#675308: 019-upstart breaks /etc/init/ttyS0.conf.
Package: live-config
Severity: normal
Tags: upstream
This issue is present in git as at debian/3.0_a37-1.
The script live-config/scripts/config/019-upstart edits /etc/init/tty*
This include ttyS0.conf i.e. a serial port, which it changes to
exec /bin/login -f cyber </dev/ttyS0 >/dev/ttyS0 2>&1
AFAIK this can't possibly work. Therefore I suggest you change the
glob to only match ttys that start with a digit, and for good measure
to only match .conf files:
for _FILE in /etc/init/tty* # before
for _FILE in /etc/init/tty[0-9]*.conf # after
# Note there are two such loops in the file.
This will not make the serial consoles auto-log-in, but it will at
least let them remain functional (tested and confirmed).
This issue does not appear to affect the corresponding sysvinit
script, 017-sysvinit, as it matches on the regexp tty[0-9]*.
PS: my workaround for now is to do live-noconfig=upstart, which skips
the entire script. This is safe *for me* as at precise as the only
thing that 019-upstart does is edit the tty* files, and I have only
serial consoles on my target hardware.
-- System Information:
Debian Release: wheezy/sid
APT prefers oneiric-updates
APT policy: (990, 'oneiric-updates'), (990, 'oneiric-security'), (990, 'oneiric'), (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise')
Architecture: armel (armv7l)
Kernel: Linux 2.6.36.4 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Reply to: