From: Sahil Tandon on
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.

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

--
Sahil Tandon <sahil(a)FreeBSD.org>
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Sahil Tandon on
On Thu, 13 May 2010, Scot Hetzel wrote:

> On Thu, May 13, 2010 at 8:33 PM, Sahil Tandon <sahil(a)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(a)FreeBSD.org>
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"