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

Nicolas François nicolas.francois at centraliens.net
Mon Aug 5 15:08:27 UTC 2013


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.

Best Regards,
-- 
Nekral
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shadow_debian_670132.patch
Type: text/x-diff
Size: 950 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20130805/273eb49a/attachment-0001.patch>


More information about the Pkg-shadow-devel mailing list