#581939 Line added in inetd.conf by postinstall does not work with variants

#581939#5
Date:
2010-05-17 10:56:26 UTC
From:
To:
Hi,

When installing pure-ftpd-mysql (I guess it's the same for the other
variants) the line added to /etc/inetd.conf is

ftp     stream  tcp     nowait  root    /usr/sbin/tcpd /usr/sbin/pure-ftpd-wrapper

Which means that the package will not work out-of-the box.

Error:

Can't exec "/usr/sbin/pure-ftpd": No such file or directory at /usr/sbin/pure-ftpd-wrapper line 174.
/usr/sbin/pure-ftpd-wrapper: Cannot exec /usr/sbin/pure-ftpd: No such file or directory at /usr/sbin/pure-ftpd-wrapper line 174.

Changing the line to:

ftp     stream  tcp     nowait  root    /usr/sbin/tcpd /usr/sbin/pure-ftpd-wrapper mysql

fix the problem.

I guess this could be done automatically when the line is added
to /etc/inetd.conf by postinstall script, or that a symlink could be
added to the variants packages.

Regards

Laurent Bigonville