vsftpd: doesn't take vsftpd_flags for alternative
configuration file
Sahil Tandon
sahil at FreeBSD.org
Fri May 14 03:09:10 UTC 2010
On Thu, 13 May 2010, Scot Hetzel wrote:
> 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}::
It should, but according to the OP, it doesn't. OP - can you provide
some more info to help debug?
> > 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.
Of course you are correct! Careless reading on my part.
> Look at the run_rc_command in /etc/rc.subr.
Heh, yeah, I'm aware of it.
--
Sahil Tandon <sahil at FreeBSD.org>
More information about the freebsd-ports
mailing list