[Pkg-shadow-devel] Bug#670132: Happens when the session is closed
Tollef Fog Heen
tfheen at err.no
Mon Aug 5 18:05:40 UTC 2013
]] Yuri D'Elia
> On 08/05/2013 05:08 PM, Nicolas François wrote:
> > Hello Yuri,
> >
> > Could you try with the attached patch.
> >
> > su is catching the TERM signals so that it can transfer them to its child.
> > At this point in time, su already decided that the child has to be
> > terminated.
> > So su can finish the child cleanup before closing the PAM session.
> >
> > It still seems strange that systemd sends TERM signals.
> > This assumes that the tool has a TERM handler or has finished its cleanup
> > when it closes the PAM session.
>
> I have systemd + libpam-systemd from sid (whereas I had upstart at the
> time), but I cannot reproduce the problem anymore.
We made a change where (IIRC) we don't send SIGTERM to the session
leader, so this problem should have gone away, yes.
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
More information about the Pkg-shadow-devel
mailing list