]> git.e2factory.org Git - e2factory.git/commit
e2build: pty use breaks fg session signal handling, revert
authorTobias Ulmer <tu@emlix.com>
Wed, 3 Jul 2019 12:30:11 +0000 (14:30 +0200)
committerTobias Ulmer <tu@emlix.com>
Wed, 3 Jul 2019 12:30:26 +0000 (14:30 +0200)
commit806a9b822b4dd413f080afee37cd4088bbc1af64
tree9263dad89f52544877d8c01acffb27e20b9f09d3
parent0c8ee616823ebcafd3db440932182217badd2101
e2build: pty use breaks fg session signal handling, revert

Signal handling involving a pty and a foreground process inside the
chroot turns out to be very tricky. Having the ability to terminate suid
e2-su and also send eg. ^C to a vim inside doesn't appear to be
documented much. There are a few hints in sudo and related MLs.

Since it's more important to interact with applications in playground
than being able to reliably terminate e2-su, opt for a non-pty
controlled playground environment for the time being.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
local/e2build.lua