Bug#314727: login: suspend command from su shell fails to return to parent shell

2005-06-17 Thread Ned Patterson
Package: login Version: 1:4.0.3-35 Severity: important After using /bin/su to change to either the super user or another user, the bash 'suspend' command fails to work properly. It does stop the process, but it fails to return control to the parent shell. Once stopped, it moves the cursor to a

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

2005-06-17 Thread Christian Perrier
severity 314727 normal tags 314727 confirmed thanks Quoting Ned Patterson ([EMAIL PROTECTED]): > Package: login > Version: 1:4.0.3-35 > Severity: important > > After using /bin/su to change to either the super user or another user, > the bash 'suspend' command fails to work properly. It does st

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

2005-06-19 Thread Alexander Gattin
Hi! On Sun, Jun 19, 2005 at 12:52:12AM +0200, Nicolas François wrote: > I can also reproduce it. Me too, except for "no characters echoed" symptom. > It is caused by the new setting of CLOSE_SESSIONS > to yes in /etc/login.defs. Excellent analysis. I came to conclusion that suspend returns cont

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

2005-06-20 Thread Alexander Gattin
tags 314727 upstream pending thanks Hi! On Sun, Jun 19, 2005 at 07:40:27PM +0200, Tomasz Kłoczko wrote: > Probaly on CLOSE_SESSIONS=yes is something missing in current code. > Question is "what is missing ?". Sorry, I checked upstream only 0.5 hour ago. The bug is fixed there in run_shell funct

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

2005-06-20 Thread Christian Perrier
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 v