vsftpd: doesn't take vsftpd_flags for alternative configuration file

Scot Hetzel swhetzel at gmail.com
Fri May 14 02:11:02 UTC 2010


On Thu, May 13, 2010 at 8:33 PM, Sahil Tandon <sahil at freebsd.org> wrote:
> On Thu, 13 May 2010, Jason wrote:
>
>> I am trying to use vsftpd 2.2.2 and use an alternative configuration file
>> for vsftp with vsftpd_flags="/path/to/some/file.conf" (obviously using a
>> real path) and it does not work as documented.
>>
>> Would you mind having a look at this? I will look more into it, as well.
>
> The rc script doesn't use the flags anymore.
>
The rc script still uses vsftpd_flags if it is defined, the below diff
just fixed an incorrect assignment to ${command}::

> http://www.freebsd.org/cgi/cvsweb.cgi/ports/ftp/vsftpd/files/vsftpd.sh.in.diff?r1=1.5;r2=1.6
>

Before this change, the vsftpd_flags were added twice when running the command.

Look at the run_rc_command in /etc/rc.subr.

Scot


More information about the freebsd-ports mailing list