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

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



Package: network-console
Version: 0627 (backports)

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.

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.  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.

/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!

touch()ing the file stops those errors but it still fails to log me in
(even if I stop/start sshd)

Not sure what's going on - is network-console exiting rather than
exec()ing a shell?

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



Reply to: