<div dir="ltr">As a data point, I tested this on a very recent SmartOS and was unable to reproduce:<div><br></div><div><div><div>root@ksh-debian:~# set -o xtrace ; /native/usr/bin/uname -a; uname -a ; cat /etc/debian_version ; dpkg-query -l ksh | grep ksh ; /bin/ksh93</div><div>+ set -o xtrace</div><div>+ /native/usr/bin/uname -a</div><div>SunOS ksh-debian 5.11 joyent_20170427T222500Z i86pc i386 i86pc</div><div>+ uname -a</div><div>Linux ksh-debian 3.16.10 BrandZ virtual linux x86_64 GNU/Linux</div><div>+ cat /etc/debian_version</div><div>8.8</div><div>+ dpkg-query -l ksh</div><div>+ grep ksh</div><div>ii  ksh            93u+20120801-1 amd64        Real, AT&T version of the Korn shell</div><div>+ /bin/ksh93</div><div># ps | grep $$</div><div>77074 pts/2    00:00:00 ksh93</div><div># exit</div><div>root@ksh-debian:~#</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 9, 2017 at 5:52 AM, Ludovic Orban <span dir="ltr"><<a href="mailto:lorban@bitronix.be" target="_blank">lorban@bitronix.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I've installed the real ksh93 (this stuff: <a href="https://packages.debian.org/jessie/ksh" target="_blank">https://packages.debian.org/<wbr>jessie/ksh</a>) on a r151020 LX zone running the latest Debian (<a href="https://images.joyent.com/images/e74a9cd0-f2d0-11e6-8b69-b3acf2ef87f7" target="_blank">https://images.joyent.com/<wbr>images/e74a9cd0-f2d0-11e6-<wbr>8b69-b3acf2ef87f7</a>) and it behaves strangely.</div><div><br></div><div>Here is what I get:</div><div><br></div><div><div>root@debian-8:~# /bin/ksh93</div><div># ls /</div><div><br></div><div><br></div><div>^C^C</div><div>^Z^Z^Z</div><div>^\^\^\^\</div><div>Killed</div><div>root@debian-8:~#</div><div>root@debian-8:~#</div></div><div><br></div><div>(note: the "Killed" line is due to a kill -9 from another terminal).</div><div><br></div><div>Basically, any command I type just hangs there. Sometimes the shell reacts to ^C and/or ^D allowing me to try a different command that also gonna hang, and sometimes it doesn't and I have to kill the shell from another terminal. In the latter case, ksh93 starts kind of a "fork bomb" where it seems to fork itself in a loop.</div><div><br></div><div>I can reproduce this problem from a zlogin term as well as from a direct ssh session. I've also tried ksh93 on a CentOS zone to make sure the problem wasn't caused by Debian's build and the exact same problem arises.</div><div><br></div><div>Any idea what's going on?</div><div><br></div><div>Thanks,</div><div>Ludovic</div></div>
<br>______________________________<wbr>_________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.<wbr>com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" rel="noreferrer" target="_blank">http://lists.omniti.com/<wbr>mailman/listinfo/omnios-<wbr>discuss</a><br>
<br></blockquote></div><br></div>