The init.d script for Pure-FTPd fails under openrc. Reproducible: Always
The pure-ftpd.rc6 init.d script does not work under openrc. On my setup I changed the init script like following: --- /usr/portage/net-ftp/pure-ftpd/files/pure-ftpd.rc6 2008-04-18 13:06:43.000000000 +0200 +++ /etc/init.d/pure-ftpd 2008-08-30 12:15:27.556352203 +0200 @@ -23,7 +23,11 @@ OKNODO="--oknodo" fi ebegin "Starting Pure-FTPd" - start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/pure-ftpd.pid $OKNODO --exec /usr/sbin/pure-ftpd -- $SERVER $MAX_CONN $MAX_CONN_IP $DAEMON $DISK_FULL $USE_NAT $AUTH $LOG $TIMEOUT $CHARCONV $MISC_OTHER $UPSCRIPT + start-stop-daemon --start --quiet \ + --name ${SVCNAME} \ + $OKNODO --exec /usr/sbin/pure-ftpd \ + -- --pidfile /var/run/pure-ftpd.pid \ + $SERVER $MAX_CONN $MAX_CONN_IP $DAEMON $DISK_FULL $USE_NAT $AUTH $LOG $TIMEOUT $CHARCONV $MISC_OTHER $UPSCRIPT result=$? if [ $result -ne 0 ] ; then eend 1 "Could not launch Pure-FTPd" I don't know if this is breaking other stuff but at least under openrc-0.2.5 this is working. According to the documentation the "--oknodo" flag is deprecated, but I left it there.
(In reply to comment #1) This patch works or me. Thanks.
Thanks! :> Worked for me too.
*** Bug 239263 has been marked as a duplicate of this bug. ***
Thanks for the report, pure-ftpd-1.0.26 has updated init script (see bug #293696), which worked for me on openrc. So this bug should be fixed :) Don't hesitate to reopen if it still fails for you