Bug#314727: [Pkg-shadow-devel] Bug#314727: login: suspend command from su shell fails to return to parent shell

Christian Perrier Christian Perrier <bubulle@debian.org>, 314727@bugs.debian.org
Mon, 20 Jun 2005 15:50:03 +0200


tags 314727 fixed-upstream
thanks

> Sorry, I checked upstream only 0.5 hour ago. The bug
> is fixed there in run_shell function (ripped out of
> su.c from sh-utils after the Mandrake pam patch have
> been applied) the same way I did in 356th patch.

OK. So patch 356 fixes the problem in out next version and anyway, the
problem is fixed upstream. Hence tagging..:-)

> 
> Differences are: handling of SIGTERM in run_shell,
> slightly different loop condition and:
> waitpid(-1, ...) instead of waitpid() for specific pid
> this also differs with your pre-run_shell() code.


Great job on that one, Alex. ++beer for you