[Pkg-shadow-devel] Bug#670132: Happens when the session is closed

Yuri D'Elia wavexx at thregr.org
Mon Aug 5 15:50:17 UTC 2013


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.

I switched back to sysvinit for a while (I had too many problems with
upstart in general), and when I went back to try systemd 2/3 months ago
I never noticed the message again.



More information about the Pkg-shadow-devel mailing list