Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2010 21:11:00 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: vsftpd: doesn't take vsftpd_flags for alternative configuration file
Message-ID:  <AANLkTimEAoxl-CZsxa9b9yCnT10Ei9H-0FD9mvQcb1IK@mail.gmail.com>
In-Reply-To: <20100514013341.GB39634@magic.hamla.org>
References:  <20100513193818.GA55759@eggman.experts-exchange.com> <20100514013341.GB39634@magic.hamla.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 13, 2010 at 8:33 PM, Sahil Tandon <sahil@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimEAoxl-CZsxa9b9yCnT10Ei9H-0FD9mvQcb1IK>