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) .



--
Laradji nacer <n.laradji at ovea dot com>
Chef de Projets Systemes et Reseaux | Fondateur
  oooo ovea    http://www.ovea.com
Tél : +33 4 6767 0000    Gsm : +33 6 1059 6883
1024D/DFCF1726 : 33A5 7162 4370 9C30 E22C 0721 DBA7 CBEE DFCF 1726



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