From kde-bugs-dist Sat Apr 14 12:30:27 2007 From: Lars Doelle Date: Sat, 14 Apr 2007 12:30:27 +0000 To: kde-bugs-dist Subject: [Bug 143880] Konsole does not kill su root 'top' process which Message-Id: <20070414123027.27604.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=117661383129479 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=143880 ------- Additional Comments From lars.doelle on-line de 2007-04-14 14:30 ------- Ok, > My suspicion is that 'su' is to be blamed, really, but that's only wildly guessing. Which was a wrong guess... I did one more test, and the problem can indeed be located to the konsole's pty/session code. I made a test with a variant of the konsole that uses forkpty(3), which does the pty and session stuff right. ./termtest was cleaned up then as it should under su. Not using forkpty and mess of replacements and hacks around ptys instead, was historically due for the unavailability of glibc2 under many systems at that time. -lars