Bug#561074: network-console: starting a shell terminates the connection
On Monday 14 December 2009, Adrian Bridgett wrote:
> Version: 0627 (backports)
I doubt this is a valid version of network-console as I see no reason why
it should have been backported. Can you check the actual version of the
package (in /var/lib/dpkg/status)?
> I'm using the version from http://kmuto.jp/debian/d-i/ since I'm
> installing on a new Dell R410 and it requires 2.6.29 or later.
We are happy that Kenshi provides his images, but they are not supported by
us.
> It's a network preseed install and although I can ssh in and
> /bin/network-console runs fine, if I select the option to "Start
> shell" then the connection just terminates.
I haven't had any problems using network-console myself and we've not had
any similar reports from other users.
> Changing /etc/passwd to
> run /bin/sh instead works fine. I can then run /bin/network-console,
> select "start-shell and I am returned to the prompt.
My guess would be some library issue in Kenshi's image. You could try
loading the strace udeb and running an strace on network-console.
> /var/log/syslog states:
> sshd[9487]: Accepted password for installer from 10.0.0.1 port 36721
> ssh2 sshd[9488]: lastlog_filetype: Couldn't stat /var/log/lastlog: No
> such file or directory
> sshd[9488]: lastlog_openseek: /var/log/lastlog is not a file or a
> directory!
This is unrelated.
> Not sure what's going on - is network-console exiting rather than
> exec()ing a shell?
Can you reproduce the issue with a daily built image provided by us [1]?
It has 2.6.30 as kernel, so should work fine for you. You only have to
proceed as far as starting network-console.
If you cannot, I doubt there's anything wrong with network-console itself.
Cheers,
FJP
[1] http://www.debian.org/devel/debian-installer/
Reply to: