> Hello,
>
> I received a Debian bug report from Russ Albery on Courier's authlib.
> Maybe someone can shed a light on this, as I have very little understanding
> of PAM internals and authlib.
Heh, although it may very well be that a call to pam_end() is needed, the
very next thing that happens is an exit().
If some resource is leaking, even though the process has terminated, that's
a bug or a design flaw in the way that the PAM library goes about doing its
business. Any process can get SIGKILLed at any time; one cannot depend on a
tapdance routine always finishing its script.