Hi,

Here is my patch to resolve the timing issue of vsftpd version 3.0.3-3. It 
looks like vsftpd version 3.0.3-11 has the same behavior. So, this change can 
be applied to it as well.

Ryan



From: Ryan Chu<mailto:[email protected]>
Sent: Wednesday, January 9, 2019 3:26 PM
To: [email protected]<mailto:[email protected]>
Subject: vsftpd: init.d script always fails (vsftpd failed - probably invalid 
config)

This appears to be a timing issue of vsftpd's initial script 
(/etc/init.d/vsftpd). When starting the vsftpd service, the script uses a while 
loop to make sure that the vsftpd process has been created with the expected 
PID. The problem is that it should go sleep if it can't grep the same PID via 
ps command.

Ryan


Attachment: vsftpd_3.0.3-3ubuntu2.diff
Description: vsftpd_3.0.3-3ubuntu2.diff

Reply via email to