Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 81819

Summary: vsftpd-2.0.1 "/etc/init.d/vsftpd stop" command does not work
Product: Gentoo Linux Reporter: babykart <babykart>
Component: [OLD] ServerAssignee: Roy Marples (RETIRED) <uberlord>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 97140    
Bug Blocks:    
Attachments: vsftpd.conf

Description babykart 2005-02-12 20:38:37 UTC
"/etc/init.d/vsftpd stop" command does not stop the daemon without error message just [!!]
I have make this to stop the vsftpd daemon:

--- vsftpd.old  2005-02-13 05:15:11.556947776 +0100
+++ vsftpd      2005-02-13 05:14:52.504844136 +0100
@@ -32,6 +32,7 @@

 stop() {
        ebegin "Stopping vsftpd"
-       start-stop-daemon --stop --quiet --exec /usr/sbin/vsftpd
+       #start-stop-daemon --stop --quiet --exec /usr/sbin/vsftpd
+       killall -w -e vsftpd
        eend $?
 }

I think is not very clean but it works...

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.11-rc2-mmvivid1 i686)
=================================================================
System uname: 2.6.11-rc2-mmvivid1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 23:30:00)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -mmmx -msse -msse2 -pipe -fprefetch-loop-arrays
-fforce-addr -fforce-mem -ftracer -ffast-math -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -mmmx -msse -msse2 -pipe -fprefetch-loop-arrays
-fforce-addr -fforce-mem -ftracer -ffast-math -fomit-frame-pointer -fpermissive"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.proxad.net/mirrors/ftp.gentoo.org/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://mir.zyrianes.net/gentoo/ http://gentoo.blueyonder.co.uk
http://pandemonium.tiscali.de/pub/gentoo/
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/entropie"
SYNC="rsync://rsync.belnet.be/gentoo-portage"
USE="x86 bash-completion berkdb cdr chroot crypt libg++ libwww mmx ncurses nls
nptl nptlonly pam perl pic python readline sse sse2 ssl symlink tcpd zlib
video_cards_radeon linguas_fr"
Unset:  ASFLAGS, CBUILD, CTARGET
Comment 1 Robert Baxter 2005-02-14 03:21:05 UTC
please provide vsftpd.conf
Comment 2 babykart 2005-02-14 09:17:47 UTC
Created attachment 51216 [details]
vsftpd.conf
Comment 3 Roy Marples (RETIRED) gentoo-dev 2005-06-07 11:41:57 UTC
Fixed in vsftpd-2.0.3