problems with /dev/console and "job control"
idl0r at qasl.de
Sat Jun 26 11:30:34 UTC 2010
I try to setup busybox properly for my initrd although I don't get it
working with "job control".
I thought that console=... would help (kernel cmdline) but it doesn't.
It works so far (at least CTRL+C) if I use openvt -s but that is no
solution for me.
I use my own /init script which later calls "exec /bin/sh" to enter a
rescue shell but CTRL+C etc. isn't working. :(
The second problem is that dropbear doesn't work as expected..
It is listening on e.g. port 22 but after a successfully connection it
will close the connection after a few seconds.
dropbear: Running in background
dropbear: Child connection from ....
dropbear: pubkey auth succeeded for ´root´ with key md5 ... from ...
dropbear: Failed listening on ´22´: Error listening: Address
already in use
dropbear: premature exit: No listening ports available.
dropbear: exit after auth (root): Disconnect received
I _think_ this is related to the "no job control" thingy.
I assume that dropbear tries to kill the old listener and then start a
Its just what I think so I'm currently not 100% sure because I didn't
read that part of source yet.
So my question is now:
How can I get the "job control" working properly? I think that will also
fix the reboot/halt issues.
And might that solve the dropbear issues?
So I'd like to be able to use CTRL+C as well as reboot/halt etc.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
More information about the busybox