Package: pure-ftpd-common
Version: 1.0.24-1
Severity: normal

The 'IPV4Only' and 'IPV6Only' configuration files in
'/etc/pure-ftpd/conf' are ignored by the pure-ftpd-wrapper script.

The cause of the problem is this section of the script:

for (@conffiles) {
        # simply skip files with non-word characters
        next unless /^[A-Za-z]+$/;

The above regular expression does not match the 'IPV4Only' and
'IPV6Only' options, so these files are skipped.

Since all currently supported options start with an upper case letter
followed by any case alphanumerics, and are at least 2 characters long,
perhaps the following regex will do:

        next unless /^[A-Z][A-Za-z0-9]+$/;

but let's leave that to the maintainer!

Regards,
Ian Abbott

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pure-ftpd-common depends on:
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  libpam-modules                1.1.0-4    Pluggable Authentication Modules f
ii  perl-modules                  5.10.1-9   Core Perl modules

Versions of packages pure-ftpd-common recommends:
ii  pure-ftpd                     1.0.24-1   Pure-FTPd FTP server

pure-ftpd-common suggests no packages.

-- debconf information:
* pure-ftpd/ftpwho-setuid: true
* pure-ftpd/virtualchroot: true
  pure-ftpd/minuid:
  pure-ftpd/config-obsolete-note:
  pure-ftpd/saved-inetd-config:
* pure-ftpd/standalone-or-inetd: inetd



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

Reply via email to