Fixed
Created: Oct 23, 2014
Updated: Dec 3, 2018
Resolved Date: Oct 26, 2014
Previous ID: LIN4-31858
Found In Version: 6.0
Fix Version: 6.0.0.14
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Kernel, Networking
In WRL-4.3 telnetd remains even after all the Telnet clients have exited, it is stuck waiting for futex (as shown below).
eCCM-root-root> sh /store/sample.sh
2298 root 3320 S telnetd -h
11384 root 3320 S telnetd -h
------
^C
eCCM-root-root> strace -p 11384
Process 11384 attached - interrupt to quit
futex(0xffbd4e0, FUTEX_WAIT_PRIVATE, 2, NULL^C <unfinished ...>
xCCM-root-root> sh /store/sample.sh
9087 root 3340 S telnetd -h
14205 root 3340 S telnetd -h
22698 root 3340 S telnetd -h
31050 root 3340 S telnetd -h
xCCM-root-root> strace -p 14205
Process 14205 attached - interrupt to quit
futex(0xffb2528, FUTEX_WAIT_PRIVATE, 2, NULL^C <unfinished ...>
Process 14205 detached
None
The scripts used to reproduce the problem are attached. The setup.log and config.log files are attached.