mod_vroot not compiled?

    • OMV 2.x
    • mod_vroot not compiled?

      Hi folks,

      im poking around with ftp shares for a while now in 2.2.4 (stone-burner) and I don't get a single shared folder to appear as vroot in /srv/ftp.
      I also already set "previleges" to the according user.

      Is it possible that the module mod_vroot.c is missing in this release?
      proftpd -V shows the following:
      ( I'm not an expert, but shouldn't mod_vroot appear somewhere in this output?)


      Compile-time Settings:

      Version: 1.3.4a (maint)

      Platform: LINUX [Linux 3.2.0-4-amd64 x86_64]

      Built: Tue May 19 2015 11:02:49 UTC

      Built With:


      configure 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4
      -Wformat -Werror=format-security' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'
      'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
      -Werror=format-security' 'FFLAGS=-g -O2' 'LDFLAGS=-Wl,-z,relro'
      '--prefix=/usr'
      '--with-includes=/usr/include/postgresql:/usr/include/mysql'
      '--mandir=/usr/share/man' '--sysconfdir=/etc/proftpd'
      '--localstatedir=/var/run' '--libexecdir=/usr/lib/proftpd'
      '--enable-sendfile' '--enable-facl' '--enable-dso' '--enable-autoshadow'
      '--enable-ctrls' '--with-modules=mod_readme' '--enable-ipv6'
      '--enable-nls' '--with-lastlog=/var/log/lastlog' '--enable-pcre'
      '--build' 'x86_64-linux-gnu'
      '--with-shared=mod_unique_id:mod_site_misc:mod_load:mod_ban:mod_quotatab:mod_sql:mod_sql_mysql:mod_sql_postgres:mod_sql_sqlite:mod_sql_odbc:mod_dynmasq:mod_quotatab_sql:mod_ldap:mod_quotatab_ldap:mod_ratio:mod_tls:mod_rewrite:mod_radius:mod_wrap:mod_wrap2:mod_wrap2_file:mod_wrap2_sql:mod_quotatab_file:mod_quotatab_radius:mod_facl:mod_ctrls_admin:mod_copy:mod_deflate:mod_ifversion:mod_tls_memcache:mod_exec:mod_sftp:mod_sftp_pam:mod_sftp_sql:mod_shaper:mod_sql_passwd:mod_ifsession'
      'build_alias=x86_64-linux-gnu'



      CFLAGS: -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall

      LDFLAGS: -L$(top_srcdir)/lib -Wl,-z,relro -L/usr/lib/x86_64-linux-gnu -L/usr/lib

      LIBS: -lacl -lpcreposix -lpcre -lssl -lcrypto -lcap -lpam -lsupp -lcrypt -ldl -ldl -lz



      Files:

      Configuration File:

      /etc/proftpd/proftpd.conf

      Pid File:

      /var/run/proftpd.pid

      Scoreboard File:

      /var/run/proftpd.scoreboard

      Header Directory:

      /usr/include/proftpd

      Shared Module Directory:

      /usr/lib/proftpd



      Features:

      + Autoshadow support

      + Controls support

      + curses support

      - Developer support

      + DSO support

      + IPv6 support

      + Largefile support

      + Lastlog support

      - Memcache support

      + ncurses support

      + NLS support

      + OpenSSL support

      + PCRE support

      + POSIX ACL support

      + Shadow file support

      + Sendfile support

      + Trace support



      Tunable Options:

      PR_TUNABLE_BUFFER_SIZE = 1024

      PR_TUNABLE_DEFAULT_RCVBUFSZ = 8192

      PR_TUNABLE_DEFAULT_SNDBUFSZ = 8192

      PR_TUNABLE_GLOBBING_MAX_MATCHES = 100000

      PR_TUNABLE_GLOBBING_MAX_RECURSION = 8

      PR_TUNABLE_HASH_TABLE_SIZE = 40

      PR_TUNABLE_NEW_POOL_SIZE = 512

      PR_TUNABLE_SCOREBOARD_BUFFER_SIZE = 80

      PR_TUNABLE_SCOREBOARD_SCRUB_TIMER = 30

      PR_TUNABLE_SELECT_TIMEOUT = 30

      PR_TUNABLE_TIMEOUTIDENT = 10

      PR_TUNABLE_TIMEOUTIDLE = 600

      PR_TUNABLE_TIMEOUTLINGER = 30

      PR_TUNABLE_TIMEOUTLOGIN = 300

      PR_TUNABLE_TIMEOUTNOXFER = 300

      PR_TUNABLE_TIMEOUTSTALLED = 3600

      PR_TUNABLE_XFER_SCOREBOARD_UPDATES = 10

    • As I understand vroot is virtual, if you go the path in terminal nothing should be there, the aliases appear only upon ftp login.
      The vroot also comes as separate module (package) in wheezy, which is no longer provided by Debian in Jessie. The vroot package in 3.0 comes from Omv repos.
      Cant recall now, but there is a proftpd command to see what modules are loaded.
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server