Comment 5 for bug 2069324

Revision history for this message
Markus Wigge (markus-cultcom) wrote : Re: [Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

Hello,

actually I am running "bookworm" and noticed that the packet is quite
abandoned so I looked at the Ubuntu repository which had a newer release
of vsftpd but also quite old.

I build the ubuntu package on debian bookworm an noticed the same error.
Then I rebuilt the same package with the attached patch applied and now
it is working as expected. My custom script is run by pam_exec.so on
login as it was intended.

It would be great to see it applied upstream in Ubunutu and Debian as well.

Just add a line to /etc/pam.d/vsftpd like this:
account optional pam_exec.so debug quiet /root/my_script.sh

And simply run "logger test" inside.

Without the patch the vsftpd hangs as soon as someone logs in.

Kind Regards,
Markus

Am 15.06.24 um 02:50 schrieb Mitchell Dzurick:
> Markus, if I were to create a PPA with this patch applied, would you be
> willing to help test that out?
>
> ** Changed in: vsftpd (Ubuntu)
> Status: New => Triaged
>