Bug#561074: network-console: starting a shell terminates the connection
reassign 561074 di-utils-shell
tag 561074 pending
thanks
On Wednesday 16 December 2009, Adrian Bridgett wrote:
> Same thing I'm afraid - I've added in "set -x" and this is what I see
> (echo's I've added):
> (process:21240): + RET=30 question skipped
> (process:21240): + return 30
>
> 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.
Yes, that's exactly the reason. The db_input returns 30 because the
question gets skipped because the prio you're running at is higher than
the one it's set to be asked at.
The correct solution is to add ' || [ $? -eq 30 ]' to the line.
It's a bit of a corner case because people don't normally log into
preseeded installs.
I've just fixed it in the source (of debian-installer-utils, not
network-console).
Thanks for providing the info to track it down.
Cheers,
FJP
Reply to: