Date: Thu, 13 May 2010 23:09:06 -0400 From: Sahil Tandon <sahil@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: Re: vsftpd: doesn't take vsftpd_flags for alternative configuration file Message-ID: <20100514030905.GC39634@magic.hamla.org> In-Reply-To: <AANLkTimEAoxl-CZsxa9b9yCnT10Ei9H-0FD9mvQcb1IK@mail.gmail.com> References: <20100513193818.GA55759@eggman.experts-exchange.com> <20100514013341.GB39634@magic.hamla.org> <AANLkTimEAoxl-CZsxa9b9yCnT10Ei9H-0FD9mvQcb1IK@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 May 2010, Scot Hetzel wrote: > 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}:: 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@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100514030905.GC39634>