[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#819546: marked as done (vsftpd no longer starts with systemd because of listen_ipv6=NO from Bug: #803999)



Your message dated Tue, 05 Jul 2016 07:05:10 +0000
with message-id <E1bKKPu-0007xR-Lh@franck.debian.org>
and subject line Bug#819546: fixed in vsftpd 3.0.3-5
has caused the Debian Bug report #819546,
regarding vsftpd no longer starts with systemd because of listen_ipv6=NO from Bug: #803999
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
819546: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819546
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: vsftpd
Version: 3.0.3-3
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Bug #803999 sets listen_ipv6=NO as stated in the manpage. In doing so, it
breaks the systemd unit vsftpd which tries to do the following :

 ExecStart=/usr/sbin/vsftpd /etc/vsftpd.conf

Running the command manually leads to :

# /usr/sbin/vsftpd /etc/vsftpd.conf
500 OOPS: vsftpd: not configured for standalone, must be started from inetd

Switching back listen_ipv6=YES allows the vsftpd daemon to start correctly.

Right now, installing vsftpd in a fresh debian/sid will lead to a failure to
start unless the parameter is set to listen_ipv6=YES.

This can be easily shown by running the DEP8 test :

Setting up adt-satdep (0) ...
Processing triggers for systemd (229-3ubuntu1) ...
(Reading database ... 87432 files and directories currently installed.)
Removing adt-satdep (0) ...
adt-run [10:50:30]: test smoke: [-----------------------
+ sed -i s/^#\(write_enable=YES\)$/\1/ /etc/vsftpd.conf
+ service vsftpd reload
vsftpd.service is not active, cannot reload.
adt-run [10:50:31]: test smoke: -----------------------]
adt-run [10:50:32]: test smoke:  - - - - - - - - - - results - - - - - - - - - -
smoke                FAIL non-zero exit status 1

The systemd service will clearly not work with such a configuration. So either the
default in the manpage needs to be changed, or the unit needs to force the option
with :
 /usr/sbin/vsftpd /etc/vsftpd.conf -olisten_ipv6=YES

In such a case, it should be outlined somewhere in the manpage.


-- Package-specific info:

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13.0-83-generic (SMP w/12 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vsftpd depends on:
ii  adduser                3.114
ii  debconf [debconf-2.0]  1.5.59
ii  init-system-helpers    1.29
ii  libc6                  2.22-4
ii  libcap2                1:2.24-12
ii  libpam-modules         1.1.8-3.2
ii  libpam0g               1.1.8-3.2
ii  libssl1.0.2            1.0.2g-1
ii  libwrap0               7.6.q-25
ii  netbase                5.3

Versions of packages vsftpd recommends:
ii  logrotate  3.8.7-2
ii  ssl-cert   1.0.37

vsftpd suggests no packages.

-- debconf information:
  vsftpd/username: ftp
  vsftpd/directory: /srv/ftp
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
#
# Run standalone?  vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
listen=NO
#
# This directive enables listening on IPv6 sockets. By default, listening
# on the IPv6 "any" address (::) will accept connections from both IPv6
# and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
# sockets. If you want that (perhaps because you want to listen on specific
# addresses) then you must run two copies of vsftpd with two configuration
# files.
listen_ipv6=NO
#
# Allow anonymous FTP? (Disabled by default).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
#write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
#local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# If enabled, vsftpd will display directory listings with the time
# in  your  local  time  zone.  The default is to display GMT. The
# times returned by the MDTM FTP command are also affected by this
# option.
use_localtime=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#chown_uploads=YES
#chown_username=whoever
#
# You may override where the log file goes if you like. The default is shown
# below.
#xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format.
# Note that the default log file location is /var/log/xferlog in this case.
#xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that on some FTP servers, ASCII support allows a denial of service
# attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
# predicted this attack and has always been safe, reporting the size of the
# raw file.
# ASCII mangling is a horrible feature of the protocol.
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
# You may fully customise the login banner string:
#ftpd_banner=Welcome to blah FTP service.
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd.banned_emails
#
# You may restrict local users to their home directories.  See the FAQ for
# the possible risks in this before using chroot_local_user or
# chroot_list_enable below.
#chroot_local_user=YES
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
# (Warning! chroot'ing can be very dangerous. If using chroot, make sure that
# the user does not have write access to the top level directory within the
# chroot)
#chroot_local_user=YES
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd.chroot_list
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#ls_recurse_enable=YES
#
# Customization
#
# Some of vsftpd's settings don't fit the filesystem layout by
# default.
#
# This option should be the name of a directory which is empty.  Also, the
# directory should not be writable by the ftp user. This directory is used
# as a secure chroot() jail at times vsftpd does not require filesystem
# access.
secure_chroot_dir=/var/run/vsftpd/empty
#
# This string is the name of the PAM service vsftpd will use.
pam_service_name=vsftpd
#
# This option specifies the location of the RSA certificate to use for SSL
# encrypted connections.
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
ssl_enable=NO

#
# Uncomment this to indicate that vsftpd use a utf8 filesystem.
#utf8_filesystem=YES

--- End Message ---
--- Begin Message ---
Source: vsftpd
Source-Version: 3.0.3-5

We believe that the bug you reported is fixed in the latest version of
vsftpd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 819546@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gianfranco Costamagna <locutusofborg@debian.org> (supplier of updated vsftpd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 05 Jul 2016 08:55:01 +0200
Source: vsftpd
Binary: vsftpd vsftpd-dbg
Architecture: source
Version: 3.0.3-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Gianfranco Costamagna <locutusofborg@debian.org>
Description:
 vsftpd     - lightweight, efficient FTP server written for security
 vsftpd-dbg - lightweight, efficient FTP server written for security (debug)
Closes: 819546
Changes:
 vsftpd (3.0.3-5) unstable; urgency=medium
 .
   * QA upload.
   * Cherry-pick the Ubuntu fix for ipv6 (Closes: #819546)
     - thanks Louis Bouchard and Jeremy Bicha
Checksums-Sha1:
 edf41c539fcd6c0eb779bdda7bed333b51d7f2f7 1946 vsftpd_3.0.3-5.dsc
 72336a869c1e3881995fcf5c6035f5339b5dee5d 34876 vsftpd_3.0.3-5.debian.tar.xz
Checksums-Sha256:
 812c59264cd2e9e349bfe29e6f62c37aa18695e1ce2009264f2eda753e2da24e 1946 vsftpd_3.0.3-5.dsc
 e584ce76ad4882fe048d10bd7b260352bf47ed179b0d9d1347e15d061dbde35d 34876 vsftpd_3.0.3-5.debian.tar.xz
Files:
 483cf14f5735dd785cb9a38f4f491c2e 1946 net extra vsftpd_3.0.3-5.dsc
 70b7d8042d36f3c3488ddd2576596a92 34876 net extra vsftpd_3.0.3-5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXe1oCAAoJEPNPCXROn13ZXEAP/jNu9fIv2+OJpGsjz9Qtrt7R
jLxYm4ulEOMp7EP2cRnVP4aEstx10OkZP3TTx/5ZQtlQIWGP7Cba7sAEjuNUiGLf
VPFba26CdhqXqHI64OB13VtoVhG9oZzodfDC9H462yo6PvhH1T91CZ4mHW0rnbui
omrxi5Cb/bHYsa5A0SiNdh2QfaU5nlj6ObeEjz647KHy0GNB73N+WmZyr89lEJ7C
v9Ufbq1V+5KOebGefMMCafBgMlSNlUrsHbTxGwlTH9XQWzUOIobnbBHVRcA5HghD
vmhOSQHAwOO34Qzl5dXN2h69BYNpklquC5FbTugMElKSJ6FCF0miJ7G1SyY1S940
Du0oIlZk7rFm7JA5fecOk145q0AggluQ3N+md+i3AU3PeYeDWETu819wCmVDpAq8
zCG2evoV/2IWcpI5ar4R8DUVdu0Me06/7JPM5nYRJVZA9JY4yrnVkk1VGzTiPpar
gX38zo/Mbh2VHBxuJM6WdAsctTDdAwY7y+uFnEByI/WjcZX/dIe9XHpYPdw3/X0C
qBXVHBmUU2uda9tBrq3eSVGU2zJiduw4+tqJH9t45TLShWo3Ejo0ycDQ+3UqTAmv
kL6ZIM/DgeCDi03bxZzMDOlPLT0QSzssjdoIF4xRgkd1QM5uzHMILhYJSmzr5Gax
so/NK9LjzaWcggE098z5
=awWY
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: