laradji nacer wrote:
The command /usr/sbin/pure-ftpd-wrapper is call by the inetd service at connection and it call /ust/sbin/pure-ftpd . It need to call the command : /usr/sbin/pure-ftpd-mysql when you use it with mysql or /usr/sbin/pure-ftpd-postgresql when you use it with postgresql

I have modified the line 26 of /usr/sbin/pure-ftpd-wrapper with this to make it work :
my $daemon = '/usr/sbin/pure-ftpd-mysql';


The problem is that the wrapper is in pure-ftpd-common
dpkg --search /usr/sbin/pure-ftpd-wrapper
pure-ftpd-common: /usr/sbin/pure-ftpd-wrapper

Perhaps we need to have different wrapper for each backend pure-ftpd have ?
/usr/sbin/pure-ftpd-wrapper-mysql
               -postgresql
               -ect...

Or patch /usr/sbin/pure-ftpd-wrapper on the fly with debconf when installing a different backend , i don't now if debian policies authorise that (modify a file from a other package) .


The wrapper itself is able to use different daemons:

if ($ARGV[0]) {
        $daemon = "$daemon-$ARGV[0]";
}

The problem is that the record for the inet service misses the
commandline argument.

Regards
        Racke


--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team




--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to