vsftpd version 3.0.4

212 views
Skip to first unread message

KenK

unread,
Jul 6, 2021, 4:12:01 PM7/6/21
to Alt-F
Just updated all the available packages including vsftpd from 3.0.3 to 3.0.4.  After the update, vsftpd will not start in inetd mode.  Only works in server mode.  Any idea?  Thanks.

Joao Cardoso

unread,
Jul 6, 2021, 8:08:05 PM7/6/21
to Alt-F
On Tuesday, July 6, 2021 at 9:12:01 PM UTC+1 KenK wrote:
Just updated all the available packages including vsftpd from 3.0.3 to 3.0.4.  After the update, vsftpd will not start in inetd mode.  Only works in server mode.  Any idea?

Hard to  tell without the relevant (vsftpd? inetd? syslog?) logs.
I'm away for the next weeks/month from any box, can't detail which one. But most certainly it's a missing file or folder, that is created by the vsftpd init script or the post install (upgrade) script. Try running 'rcvsftpd init' from the command line.
There is a similar bug report for opensshd at sourceforge bug reports that should be fixed using the same technique, 'rcopensshd init'
Both vsftpd and opensshd post install scripts should call these (the post install scripts can be found at /usr/lib/ipkg/info)
Please keep reporting, perhaps given the above hints someone can help further.
 
  Thanks.

Jacek Glinianowicz

unread,
Nov 24, 2021, 3:00:52 PM11/24/21
to Alt-F
Hi, I faced the same issue.... the key is to add option to /etc/inetd.conf   "-olisten=no"
ftp stream tcp nowait root /usr/sbin/vsftpd vsftpd -olisten=no # FTP server
# ftps stream tcp nowait root /usr/sbin/vsftpd vsftpd -olisten=no -oimplicit_ssl=yes # FTPS server
Regards.

João Cardoso

unread,
Nov 28, 2021, 2:06:13 PM11/28/21
to Alt-F
Yes, that's right, thanks.

I have changed the vsftpd package post install script to remove all vsftpd entries in /etc/inetd.conf and call  the init script afterwards, so that it will recreate the necessary and correct entries. Everybody can try:

sed -i '\|/usr/sbin/vsftpd|d' /etc/inetd.conf
rcvsftpd init



Reply all
Reply to author
Forward
0 new messages