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

Bug#502444: Question about the sshd bug



Goswin von Brederlow wrote:
Hi,

could it be that the problem occurs when two or more network interfaces come
up simultaneously? The first causes sshd to restart and the second then
sends a signal before the signal handler is installed. Does that sound
reasonable

The machine which was seeing the problems does have two NICs, although I can't test whether the problem still occurs when only one is configured, as the machine is in production now....

If however someone is able to experiment with a machine which is still seeing these symptoms, then I'd guess adding various:

"pre-up sleep <number>"

lines to /etc/network/interfaces (where number is different for each), this should make the problem go away.


Hmm. It looks like the problem IS two successive reloads happening too close together (maybe udev now brings up NICs in quick succession, or parallel), since if I run this on the command line of a different lenny machine:

for i in {1..20} ; do /etc/init.d/ssh reload & /etc/init.d/ssh reload & /etc/init.d/ssh reload & /etc/init.d/ssh reload ; done

then sshd normally dies within 10 or so reloads...

Tim.

--
South East Open Source Solutions Limited
Registered in England and Wales with company number 06134732. Registered Office: 2 Powell Gardens, Redhill, Surrey, RH1 1TQ
VAT number: 900 6633 53  http://seoss.co.uk/ +44-(0)1273-808309





Reply to: