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

Tomasz Kłoczko Tomasz Kłoczko <kloczek@zie.pg.gda.pl>, 314727@bugs.debian.org
Sun, 19 Jun 2005 19:40:27 +0200 (CEST)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--568760595-1509811718-1119202827=:3717
Content-Type: TEXT/PLAIN; charset=UTF-8
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Sun, 19 Jun 2005, Nicolas [iso-8859-1] Fran=E7ois wrote:

> Hello,
>=20
> I can also reproduce it. It is caused by the new setting of CLOSE_SESSION=
S
> to yes in /etc/login.defs.
>=20
> To perform CLOSE_SESSIONS, a fork is needed, and when the shell is
> suspended, the whole process is not completely suspended and thus the
> previous shell (used to su) do not get the focus.
>=20
> So, setting CLOSE_SESSIONS to no will solve this issue (but won't close
> this bug).
> I still don't know how to fix this issue with CLOSE_SESSIONS set to yes.

OK but you probaly also agree it is only kind of simptomatic cure.

IMO using CLOSE_SESSIONS it is kind of "broken design" (in login and also=
=20
in newgrp) and it must be solved by use only one variant of this code=20
without use external login.defs::CLOSE_SESSIONS variable.
Probaly on CLOSE_SESSIONS=3Dyes is something missing in current code.=20
Question is "what is missing ?".

kloczek
--=20
-----------------------------------------------------------
*Ludzie nie maj=C4=85 problem=C3=B3w, tylko sobie sami je stwarzaj=C4=85*
-----------------------------------------------------------
Tomasz K=C5=82oczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.gd=
a.pl*
--568760595-1509811718-1119202827=:3717--