ports/71477: pure-ftpd doesn't respect the pureftpd_config in /etc/rc.conf

Edwin Groothuis edwin at mavetju.org
Wed Sep 8 00:10:27 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list