[Pkg-shadow-devel] Bug#713979: su: kill child process group on signal, not just immediate child

Justin T Pryzby justinp at norchemlab.com
Sat Aug 3 00:12:33 UTC 2013


FYI:

On Sat, Aug 03, 2013 at 02:05:08AM +0200, Nicolas François wrote:
> When there is only one command, bash seems to exec the command instead
> of forking, so su receives a SIGINT, forwards it to bash, which has became
> sleep in the mean time. So sleep terminates.

I believe that's at least sometimes true with recent versions of bash,
but not (necessarily?) old versions.



More information about the Pkg-shadow-devel mailing list