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

Bug 101793

Summary: vsftpd ftp server no longer works
Product: Gentoo Linux Reporter: André Terpstra <andre>
Component: New packagesAssignee: Roy Marples (RETIRED) <uberlord>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: VSFTPD main config
XINETD main config
XINETD vsftpd config

Description André Terpstra 2005-08-08 12:55:09 UTC
After (I think) a recent downgrade of vsftpd the FTP service is no longer
available. It used to work for over a year (I always start it from xinetd). But
now no matter waht I try in /etc/vsftpd/vsftpd.conf it won't accept FTP requests
anymore. I have also tried to start it directly with the LISTEN and BACKGROUND
parms but that doens't work either

Reproducible: Always
Steps to Reproduce:
1.emerge sync && emerge -u world
2.
3.

Actual Results:  
>>> emerge (1 of 4) sys-libs/gpm-1.20.1-r5 to /
>>> Downloading ftp://localhost/gentoo/distfiles/gpm-1.20.1.tar.bz2
--21:54:02--  ftp://localhost/gentoo/distfiles/gpm-1.20.1.tar.bz2
           => `/usr/portage/distfiles/gpm-1.20.1.tar.bz2'
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:21... connected.
Logging in as anonymous ...
Error in server greeting.
Retrying.



Expected Results:  
allow normal FTP server requests

AthenaGentoo ~ # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0/2.4, gcc-3.4.4, glibc-2.3.5-r1,
2.4.31-gentoo-r1 i686)
=================================================================
System uname: 2.4.31-gentoo-r1 i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.6.13
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -fforce-addr
-momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -fforce-addr
-momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://localhost/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="x86 3dnow 3dnowext X apm artworkextra avi berkdb bitmap-fonts browserplugin
cdr crypt cups curl doc dvd dvdr eds emboss encode esd fam font-server
foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 howl imlib ipv6 java
javascript jpeg libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc
moznomail moznoxft mozsvg mp3 mpeg ncurses nls nntp offensive ogg oggvorbis
opengl oss pam pdflib perl png python quicktime readline samba sdl slp spell sse
ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vorbis
xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Roy Marples (RETIRED) gentoo-dev 2005-08-09 06:13:16 UTC
Please attach your /etc/vsftpd/vsftpd.conf and /etc/xinetd.d/vsftpd files and
post which version of vsftpd you're having this issue with.
Comment 2 André Terpstra 2005-08-09 10:18:34 UTC
Created attachment 65542 [details]
VSFTPD main config
Comment 3 André Terpstra 2005-08-09 10:19:26 UTC
Created attachment 65543 [details]
XINETD main config
Comment 4 André Terpstra 2005-08-09 10:21:05 UTC
Oh now the problem may become apparent! I noticed a downgrade but now I see to what:

AthenaGentoo ~ # equery list -p vsftpd
[ Searching for package 'vsftpd' in all categories among: ]
 * installed packages
[I--] [  ] net-ftp/vsftpd-1.2.2 (0)
 * Portage tree (/usr/portage)
[-P-] [M ] net-ftp/vsftpd-2.0.3-r1 (0)
AthenaGentoo ~ # emerge -pv vsftpd

These are the packages that I would merge, in order:

Calculating dependencies  ...done!
[ebuild   R   ] net-ftp/vsftpd-1.2.2  +ipv6 +pam +tcpd 0 kB

Total size of downloads: 0 kB
A
Comment 5 André Terpstra 2005-08-09 10:22:05 UTC
Created attachment 65544 [details]
XINETD vsftpd config
Comment 6 Roy Marples (RETIRED) gentoo-dev 2005-08-09 22:25:15 UTC
vsftpd-2.0.3-r1 is stable on x86 - why did it downgrade yours? Try re-emerging
vsftpd-2*
Comment 7 André Terpstra 2005-08-09 22:47:03 UTC
Roy:


I don't know! As my post shows it is masked somehow. Maybe because it's a 2.4
kernel? Should I force this? How?


Andr
Comment 8 André Terpstra 2005-08-09 22:47:03 UTC
Roy:


I don't know! As my post shows it is masked somehow. Maybe because it's a 2.4
kernel? Should I force this? How?


André.
Comment 9 Roy Marples (RETIRED) gentoo-dev 2005-08-09 22:58:13 UTC
AFAIK nothing is masking vsftpd-2*
Check for it in /etc/portage/package.mask (if you have that file) or just grep
for it

grep vsftpd /etc/portage/* -R

lastly, try this

emerge -av "=net-ftp/vsftpd-2.0.3-r1"

it may tell you why it's masked.
Comment 10 André Terpstra 2005-08-10 09:49:02 UTC
I'm sorry, it's my own stupid fault. I indeed had masked it out in
/etc/portage/package.mask. I think it was because an update was blocked by
ftpbase and I wanted to get rid of that message; then I entered that line
incorrectly so it was downgraded instead.

Sorry again for wasting your time.
Comment 11 André Terpstra 2005-08-10 09:50:08 UTC
See my previous remark. It wasn't a bug after all.