Bug#756637: proftpd-basic: Init script fails in detect pid file

Ednardo Lobo ednardo at lobo.eti.br
Thu Jul 31 15:31:03 UTC 2014


Package: proftpd-basic
Version: 1.3.4a-5+deb7u1
Severity: normal
Tags: patch

Dear Maintainer,

The init script fails in detect pid file when the directive PIDFILE is preceded by space character.

Code line:

PIDFILE=`grep -i 'pidfile' $CONFIG_FILE|sed -e 's/pidfile[\t ]\+//i'`

Code line patch:

PIDFILE=`grep -i 'pidfile' $CONFIG_FILE|sed -e 's/[\t ]*pidfile[\t ]\+//i'`


-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages proftpd-basic depends on:
ii  adduser         3.113+nmu3
ii  debconf         1.5.49
ii  debianutils     4.3.2
ii  libacl1         2.2.51-8
ii  libc6           2.13-38+deb7u3
ii  libcap2         1:2.22-1.2
ii  libncurses5     5.9-10
ii  libpam-runtime  1.1.3-7.1
ii  libpam0g        1.1.3-7.1
ii  libpcre3        1:8.30-5
ii  libssl1.0.0     1.0.1e-2+deb7u11
ii  libtinfo5       5.9-10
ii  libwrap0        7.6.q-24
ii  netbase         5.0
ii  sed             4.2.1-10
ii  ucf             3.0025+nmu3
ii  update-inetd    4.43
ii  zlib1g          1:1.2.7.dfsg-13

Versions of packages proftpd-basic recommends:
pn  proftpd-mod-vroot  <none>

Versions of packages proftpd-basic suggests:
pn  openbsd-inetd | inet-superserver  <none>
ii  openssl                           1.0.1e-2+deb7u11
pn  proftpd-doc                       <none>
pn  proftpd-mod-ldap                  <none>
pn  proftpd-mod-mysql                 <none>
pn  proftpd-mod-odbc                  <none>
pn  proftpd-mod-pgsql                 <none>
pn  proftpd-mod-sqlite                <none>

-- Configuration Files:
/etc/init.d/proftpd changed [not included]
/etc/proftpd/blacklist.dat [Errno 2] Arquivo ou diretório não encontrado: u'/etc/proftpd/blacklist.dat'
/etc/proftpd/dhparams.pem [Errno 2] Arquivo ou diretório não encontrado: u'/etc/proftpd/dhparams.pem'

-- debconf information excluded



More information about the Pkg-proftpd-maintainers mailing list