Date: Wed, 8 Sep 2004 10:04:19 +1000 (EST) From: Edwin Groothuis <edwin@mavetju.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: j@pureftpd.org Subject: ports/71477: pure-ftpd doesn't respect the pureftpd_config in /etc/rc.conf Message-ID: <20040908000419.3C36161B1@k7.mavetju> Resent-Message-ID: <200409080010.i880AP6I086550@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 71477 >Category: ports >Synopsis: pure-ftpd doesn't respect the pureftpd_config in /etc/rc.conf >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 08 00:10:25 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: - >Environment: System: FreeBSD k7.mavetju 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #3: Fri Feb 27 13:54:29 EST 2004 edwin@k7.mavetju:/usr/src/sys/i386/compile/k7 i386 >Description: When setting the variable pureftpd_config in /etc/rc.conf, it isn't picked up by the pure-ftpd.sh rc-script. >How-To-Repeat: Add to /etc/rc.conf: pureftpd_enable="YES" pureftpd_config="/usr/local/etc/pure-ftpd/pure-ftpd.conf" Add to /usr/local/etc/rc.d/pure-ftpd.sh command=/usr/local/sbin/pure-config.pl pureftpd_config=${mypureftpd_config:-"/usr/local/etc/pure-ftpd.conf"} + echo $pureftpd_config $mypureftpd_config required_files=${pureftpd_config} Run "/usr/local/etc/rc.d/pure-ftpd.sh start". It will always display /usr/local/etc/pure-ftpd.conf >Fix: Euhm... I'm not skilled in the new rc-system. Sorry. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040908000419.3C36161B1>