[Konsole-devel] [Bug 143880] Konsole does not kill su root 'top' process which zombifies

Lars Doelle lars.doelle at on-line.de
Sat Apr 14 12:30:27 UTC 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
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



More information about the konsole-devel mailing list