[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-08-22 Thread Launchpad Bug Tracker
This bug was fixed in the package vsftpd - 3.0.5-0ubuntu1.1 --- vsftpd (3.0.5-0ubuntu1.1) jammy; urgency=medium * d/p/0078-0026-Prevent-hanging-in-SIGCHLD-handler.patch: avoid hang with pam_exec (LP: #2069324) -- Christian Ehrhardt Tue, 16 Jul 2024 09:52:02 +0200 ** Changed

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-08-22 Thread Launchpad Bug Tracker
This bug was fixed in the package vsftpd - 3.0.5-0ubuntu0.20.04.2 --- vsftpd (3.0.5-0ubuntu0.20.04.2) focal; urgency=medium * d/p/0076-0026-Prevent-hanging-in-SIGCHLD-handler.patch: avoid hang with pam_exec (LP: #2069324) -- Christian Ehrhardt Tue, 16 Jul 2024 09:50:23 +0200

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-08-07 Thread Christian Ehrhardt 
Until we can reproduce on noble or later we can't act, marking it invalid on those tasks. ** Changed in: vsftpd (Ubuntu Noble) Status: Incomplete => Invalid ** Changed in: vsftpd (Ubuntu Oracular) Status: Incomplete => Invalid -- You received this bug notification because you are

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-08-04 Thread Christian Ehrhardt 
The automated test failure was testbed setup, not related to the case. A new run was enqueued and worked fine. => Bad run https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/s390x/v/vsftpd/20240802_001540_a3c4c@/log.gz => good re-run https://autopkgtest.ubuntu.com/results/autopkgtest-f

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-08-04 Thread Christian Ehrhardt 
Focal verification 1. Repro issue root@f:~# apt install lftp vsftpd Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: ssl-cert Suggested packages: openssl-blacklist The following NEW packages wi

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-08-04 Thread Christian Ehrhardt 
Jammy verification 1. Repro issue root@j:~# apt install lftp vsftpd Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: ssl-cert The following NEW packages will be installed: lftp ssl-cert vsftp

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-08-01 Thread Andreas Hasenack
It's weird that noble+ don't show the bug, but I agree that it's not worth updating there when we don't have a reported case, and our reproducer doesn't work there. ** Changed in: vsftpd (Ubuntu Jammy) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-nee

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-07-19 Thread Christian Ehrhardt 
MRs approved, uploaded for Focal and Jammy. Now waiting for the SRU team to find time for reviewing it in the -unapproved queue. ** Changed in: vsftpd (Ubuntu Focal) Status: Confirmed => In Progress ** Changed in: vsftpd (Ubuntu Jammy) Status: Confirmed => In Progress ** Changed i

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-07-16 Thread Christian Ehrhardt 
** Description changed: [ Impact ] -  * when running sub-processes on login through pam_exec a process + * User impact: under certain conditions using pam_exec the vsftp server +just hangs + +  * Reason: when running sub-processes on login through pam_exec a process    is spawned. Tha

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-07-16 Thread Christian Ehrhardt 
** Description changed: [ Impact ] - * when running sub-processes on login through pam_exec a process -is spawned. That can confuse vsftp if that child ends triggering SIGCHLD but -already been picke dup by e.g. pam_exec.so itself. +  * when running sub-processes on login through p

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-07-16 Thread Christian Ehrhardt 
** Description changed: + [ Impact ] + + * when running sub-processes on login through pam_exec a process +is spawned. That can confuse vsftp if that child ends triggering SIGCHLD but +already been picke dup by e.g. pam_exec.so itself. + + * The fix uses waitpid over wait to be able

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-07-16 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paelzer/ubuntu/+source/vsftpd/+git/vsftpd/+merge/469466 ** Merge proposal linked: https://code.launchpad.net/~paelzer/ubuntu/+source/vsftpd/+git/vsftpd/+merge/469467 -- You received this bug notification because you are a member of Ub

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-07-16 Thread Christian Ehrhardt 
I was double checking this on other releases and got the hang on focal. I could indeed only trigger this with FTPS on focal, but AFAICS the same config as on Oracular. That motivated me, so I tried fresh F,J,N,O systems which in theory should all be the same but obviously behave different. And I

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-07-15 Thread Christian Ehrhardt 
Thanks Markus #1 trying with this now: account optionalpam_exec.so debug quiet /root/foo.sh And $ cat /root/foo.sh #!/bin/bash /bin/true touch /tmp/brooks-was-here /bin/true By default vsftp is configured for the snakeoil certificate to get started easily, but with ssl disabled.

Re: [Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-07-12 Thread Markus Wigge
Hello, I acutally run a shell script /root/foo.sh which runs several commands. Maybe that is a difference. And I only use FTPS to connect. Regards, Markus Am 12.07.24 um 09:33 schrieb Christian Ehrhardt : > Hi, > first of all thanks for all the prep work. > The patch LGTM and I agree we should

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-07-12 Thread Christian Ehrhardt 
Hi, first of all thanks for all the prep work. The patch LGTM and I agree we should add it. I was happy to see the suggestions on how to reproduce, but while writing it out in more detail could not reproduce the hang. The following are the steps I drafted to an SRU templates "how to test and veri

Re: [Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-07-10 Thread Markus Wigge
Hello, reproduction is quite simple. Just add a pam_exec.so to PAM-config to run a small script. "exit 0" might do it. Or even simpler: accountoptional pam_exec.so debug quiet /bin/true Without the Patch vsftp hangs after a successful login. With the patch it continues running. Regards,

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-07-09 Thread Mitchell Dzurick
Thank you for your time in attempting to install the package Markus. I agree with Paride in https://bugs.launchpad.net/ubuntu/+source/vsftpd/+bug/2069324/comments/8, we should go ahead and implement this fix on our side. I'll attempt a quick repro tomorrow, but I'm pretty booked so if it takes su

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-07-04 Thread Bug Watch Updater
** Changed in: vsftpd (Debian) Status: Unknown => New -- 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

Re: [Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-07-04 Thread Markus Wigge
Sorry, I have no oracular to install the package. Only debian bookworm where it is not installable due to missing dependencies. I only uses the ubuntu sources to build my own patched version for debian. Am 03.07.24 um 06:14 schrieb Bryce Harrington: > Hi Markus - looks like Mitchell's PPA build s

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-07-03 Thread Bug Watch Updater
Launchpad has imported 2 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=1198259. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://hel

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-07-02 Thread Bryce Harrington
Hi Markus - looks like Mitchell's PPA build succeeded. Have you had a chance to install it on your server and test that it isn't showing the crash? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/206932

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-07-02 Thread Bryce Harrington
** Bug watch added: Red Hat Bugzilla #1198259 https://bugzilla.redhat.com/show_bug.cgi?id=1198259 ** Also affects: vsftpd (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=1198259 Importance: Unknown Status: Unknown ** Also affects: vsftpd (Debian) via https://bugs.debia

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-06-26 Thread Mitchell Dzurick
Just kicked off a build at [0]. [0] - https://launchpad.net/~mitchdz/+archive/ubuntu/lp2069324-vsftpd- sigchld -- 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

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-06-26 Thread Mitchell Dzurick
Thanks Markus, I'll make a PPA for that right now. -- 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

Re: [Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-06-24 Thread Markus Wigge
When it is needed I can try to install it on my server. Am 21.06.24 um 07:33 schrieb Mitchell Dzurick: > Markus, if we prepare a package with the patch, would you be willing to > help out testing the patch? > -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-06-20 Thread Mitchell Dzurick
Markus, if we prepare a package with the patch, would you be willing to help out testing the patch? -- 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_ex

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-06-20 Thread Paride Legovini
Looks like upstream development is *very* slow, and I could not find an issue tracker or a public vcs repo. Given that we have Ubuntu delta already (we're already ahead of Debian, which is still packaging 3.0.3), I believe it makes sense to add the patch to the Ubuntu package. ** Tags added: serv

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-06-19 Thread Markus Wigge
** Bug watch added: Debian Bug tracker #952421 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952421 -- 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

Re: [Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-06-19 Thread Markus Wigge
Well, there is a bug report from 2020 about the problem: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952421 Am 18.06.24 um 21:01 schrieb Mitchell Dzurick: > Markus, would you mind making a bug report upstream to see if this could > be included? > -- You received this bug notification beca

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-06-18 Thread Mitchell Dzurick
Markus, would you mind making a bug report upstream to see if this could be included? -- 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

Re: [Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-06-17 Thread Markus Wigge
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

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-06-14 Thread 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

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-06-14 Thread Mitchell Dzurick
Thank you for taking the time to make this bug report Markus! -- 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

[Bug 2069324] Re: vsftpd hangs with SIGCHLD when pam_exec.so is used

2024-06-14 Thread Mitchell Dzurick
What version of Ubuntu are you seeing this bug on? Unfortunately upstream/debian has been pretty dormant for a while, in-fact we are ahead of debian right now, so it may make sense to apply this patch. Unfortunately it looks like even upstream does not have this patch applied. -- You received th