Bug#715569: Official mod_vroot lib broken, lib built from source works

votdev votdev at gmx.de
Thu Aug 28 21:50:11 UTC 2014


I can confirm this too on an amd64 system. Rebuilding package from
source makes the mod_vroot plugin working. I suggest to rebuild the
package for the next Wheezy dot-release. It is really sad to see that
this is not fixes since Wed, 10 Jul 2013, because it's so simple to fix.

Config:

DebugLevel 10
DefaultRoot /srv/ftp
<IfModule mod_vroot.c>
  VRootEngine on
  VRootOptions allowSymlinks
  VRootLog /var/log/proftpd/vroot.log
  VRootAlias /tmp/xyz/test3 test3
</IfModule>



The daemon segfaults with the original Debian package 0.9.2-2+b2.

Aug 27 23:15:55 dhcppc3 proftpd[25055]: 127.0.1.1 - ProFTPD 1.3.4a
(maint) (built Sat Sep 28 2013 19:26:56 UTC) standalone mode STARTUP
Aug 27 23:15:59 dhcppc3 proftpd[25060]: 127.0.1.1
(192.168.178.51[192.168.178.51]) - FTP session opened.
Aug 27 23:15:59 dhcppc3 proftpd[25060]: 127.0.1.1
(192.168.178.51[192.168.178.51]) - mod_wrap/1.2.4: using access files:
/etc/hosts.allow, /et$
Aug 27 23:15:59 dhcppc3 proftpd[25060]: 127.0.1.1
(192.168.178.51[192.168.178.51]) - mod_wrap/1.2.4: allowed connection
from ::ffff:192.168.17$
Aug 27 23:15:59 dhcppc3 proftpd: pam_unix(proftpd:session): session
opened for user test by (uid=0)
Aug 27 23:15:59 dhcppc3 proftpd[25060]: 127.0.1.1
(192.168.178.51[192.168.178.51]) - Preparing to chroot to directory
'/srv/ftp'
Aug 27 23:15:59 dhcppc3 proftpd[25060]: 127.0.1.1
(192.168.178.51[192.168.178.51]) - ProFTPD terminating (signal 11)
Aug 27 23:15:59 dhcppc3 proftpd: pam_unix(proftpd:session): session
closed for user test
Aug 27 23:15:59 dhcppc3 proftpd[25060]: 127.0.1.1
(192.168.178.51[192.168.178.51]) - FTP session closed.
Aug 27 23:16:04 dhcppc3 proftpd[25067]: 127.0.1.1
(192.168.178.51[192.168.178.51]) - FTP session opened.



Rebuilding the package from the original Debian sources

proftpd-mod-vroot_0.9.2-2.dsc
proftpd-mod-vroot_0.9.2.orig.tar.gz
proftpd-mod-vroot_0.9.2-2.debian.tar.gz

fixes the problem.

Regards
Volker Theile

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-proftpd-maintainers/attachments/20140828/44364e16/attachment.html>


More information about the Pkg-proftpd-maintainers mailing list