Package: vsftpd
Version: 3.0.2-2
Followup-For: Bug #696993

Hi,

I have a similar situation here: "listen=NO", I change it to
"listen=YES" onyl if I want to use the server, which is not very often.

IMHO the prerm script should check whether the server was actually
running at the time of upgrade and/or "listen" is set to "yes/no" in the
config file before command:

    invoke-rc.d vsftpd stop || exit $?

is executed and postinst should check for "listen" set to yes/no before
running:

    invoke-rc.d vsftpd start || exit $?

A bit of grep with some if statememnts hould do the trick but I'm not
sure what Debian Policy has to say about situations like that.

Kind regards,

rjc

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (999, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 3.2.0-4-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vsftpd depends on:
ii  adduser                 3.113+nmu3
ii  cdebconf [debconf-2.0]  0.181
ii  debconf [debconf-2.0]   1.5.49
ii  libc6                   2.13-38
ii  libcap2                 1:2.22-1.2
ii  libpam-modules          1.1.3-7.1
ii  libpam0g                1.1.3-7.1
ii  libssl1.0.0             1.0.1c-4
ii  libwrap0                7.6.q-24
ii  netbase                 5.0

Versions of packages vsftpd recommends:
ii  logrotate  3.8.3-3

vsftpd suggests no packages.

-- Configuration Files:
/etc/vsftpd.conf changed [not included]

-- debconf information:
* vsftpd/username: ftp
* vsftpd/directory: /srv/ftp


-- 
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