problems with /dev/console and "job control"
Christian Ruppert
idl0r at qasl.de
Sat Jun 26 15:02:13 UTC 2010
On 06/26/2010 04:46 PM, Denys Vlasenko wrote:
> On Saturday 26 June 2010 13:30, Christian Ruppert wrote:
>> Hey guys,
>>
>> 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. :(
>
> Does this answer your question?
>
> http://busybox.net/FAQ.html#job_control
Not really because how can I run the shell in a real console there?
I have no ttySX at all and other console= values doesn't seem to work.
>
>> The second problem is that dropbear doesn't work as expected..
>
> A wrong mailing list for this question...
Usually yes but I first thought it is related to the tty issue above.
>
>> It is listening on e.g. port 22 but after a successfully connection it
>> will close the connection after a few seconds.
>> <snip>
>> dropbear[748]: Running in background
>> dropbear[749]: Child connection from ....
>> dropbear[749]: pubkey auth succeeded for ´root´ with key md5 ... from ...
>> dropbear[750]: Failed listening on ´22´: Error listening: Address
>> already in use
>
> Looks like child is confused: it tries to open a new _listening_
> socket, but it should just use the already opened _accepted_ socket
> which is passed to it by its parent... How do you run dropbear -
> what is the exact command line?
>
Either just "dropbear" or with -K nn
--
Regards,
Christian Ruppert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100626/f3185606/attachment.pgp>
More information about the busybox
mailing list