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

Bug#561074: network-console: starting a shell terminates the connection



I'm now using the daily images (20091216) as you suggested (I swapped
to backport when I hit a console hang issue (fixed by vga=...) and
hadn't swapped back.

Same thing I'm afraid - I've added in "set -x" and this is what I see
(echo's I've added):
(process:21240): + echo calling backup
(process:21240): + db_capb backup
(process:21240): + _db_cmd CAPB backup
(process:21240): + IFS=  printf %s\n CAPB backup
(process:21240): + IFS=
(process:21240):  read -r _db_internal_line
(process:21240): + RET=multiselect backup progresscancel align plugin-terminal
(process:21240): + return 0
(process:21240): + echo calling input
(process:21240): + db_input high di-utils-shell/do-shell
(process:21240): + _db_cmd INPUT high di-utils-shell/do-shell
(process:21240): + IFS=  printf %s\n INPUT high di-utils-shell/do-shell
(process:21240): + IFS=
(process:21240):  read -r _db_internal_line
(process:21240): + RET=30 question skipped
(process:21240): + return 30
Connection to 10.5.2.89 closed.

I wonder if it's because I'm preseeding and have set debconf to
critical only...  Seems wierd that db_input bails, but then it's been
a while since I've done debconf usage.

I'm currently preseeding this lot (lots of other things but these are
the only di-* or console bits.

d-i anna/choose_modules string network-console
d-i network-console/password password r00tme
d-i network-console/password-again password r00tme
d-i finish-install/keep-consoles boolean true

# don't halt progress by telling us sshd has started
d-i network-console/start note seen
# trying to get nc working (tried with this commented and uncommented)
# this should skip the "about to start a shell"
#d-i di-utils-shell/do-shell note seen

Changing the db_input line from "high" to "critical" seemed to do the
trick :-)

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS



Reply to: