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
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2069324

Title:
  vsftpd hangs with SIGCHLD when pam_exec.so is used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vsftpd/+bug/2069324/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to