[OE-core] [PATCH] telnetd:Fix deadlock on cleanup

Seiichi Ishitsuka ishitsuka.sc at ncos.nec.co.jp
Mon May 28 06:27:07 UTC 2018


Hi all,

I was able to reproduce the old problems shown below with netkit-telnet_0.17.bb.

https://patchwork.openembedded.org/patch/96727/
https://bugs.launchpad.net/ubuntu/+source/netkit-telnet/+bug/507455

The evaluated environment is,
 glibc  :2.2 
 kernel :4.4.32

How to reproduce:

Run the script more than once in the background, and
please adjust CPU usage to 100%.

#!/bin/sh

HOST="host.target"
USER="root"
PASS="password"

while :
  do
  expect -c "
  set timeout 10
  spawn telnet $HOST
  expect login:\  ; send \"$USER\r\"
  expect sword:\  ; send \"$PASS\r\"
  expect \"# \" ; send \"exit\r\"
  " > /dev/null
  done


Best regards,
Seiichi Ishitsuka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-telnetd-Fix-deadlock-on-cleanup.patch
Type: application/octet-stream
Size: 2957 bytes
Desc: 0001-telnetd-Fix-deadlock-on-cleanup.patch
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180528/5c768b3d/attachment-0002.obj>


More information about the Openembedded-core mailing list