Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 819039

Summary: net-ftp/vsftpd-3.0.5 broke our system
Product: Gentoo Linux Reporter: Joakim Tjernlund <joakim.tjernlund>
Component: Current packagesAssignee: Mike Gilbert <floppym>
Status: RESOLVED WORKSFORME    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joakim Tjernlund 2021-10-20 16:10:38 UTC
3.0.5 moved conf file from /etc/vsftpd/vsftpd.conf to /etc/vsftpd.conf and
this broke our app which generates /etc/vsftpd/vsftpd.conf changes

Moving to /etc/vsftp.conf will break backwards compatibility.
I wonder if vsftpd can support /etc/conf.d/vsftpd where one can write
  VSFTPD_OPTS=/etc/vsftpd/vsftpd.conf
to restore old behaviour?
Comment 1 Mike Gilbert gentoo-dev 2021-10-20 19:14:50 UTC
Sorry, but it really should never have been installed in /etc/vsftpd/ in the first place. The upstream default is /etc/vsftpd.conf.

To override the default config path, you can set command_args in /etc/conf.d/vsftpd.

> command_args="/etc/vsftpd.conf"
Comment 2 Joakim Tjernlund 2021-10-20 20:05:57 UTC
(In reply to Mike Gilbert from comment #1)
> Sorry, but it really should never have been installed in /etc/vsftpd/ in the
> first place. The upstream default is /etc/vsftpd.conf.

Sure.

> 
> To override the default config path, you can set command_args in
> /etc/conf.d/vsftpd.
> 
> > command_args="/etc/vsftpd.conf"

Ah, didn't know I already could do that. Thanks