Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39431 - webfsd bind problem
Summary: webfsd bind problem
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-26 01:09 UTC by Sorin CONSTANTINESCU
Modified: 2004-01-26 01:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sorin CONSTANTINESCU 2004-01-26 01:09:24 UTC
webfsd won't bind on a tcp port if some other program listens on the same port, but on UDP.

Reproducible: Always
Steps to Reproduce:
1. nc -l -p $PORT
2. webfsd -p $PORT -r .


Actual Results:  
bind: Address already in use

Expected Results:  
fork & exit quietly

Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1-gentoo)
=================================================================
System uname: 2.6.1-gentoo i686 AMD Duron(tm) processor
Gentoo Base System version 1.4.3.10
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org
ftp://ftp.lug.ro/gentoo http://ftp.lug.ro/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://gentoo.inode.at/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb bonobo crypt cups encode esd foomaticdb gd
gdbm gif gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib jpeg kde libg++ libwww
mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl
png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd
truetype usb x86 xml2 xmms xv zlib"
Comment 1 Sorin CONSTANTINESCU 2004-01-26 01:18:43 UTC
sorry. my mistake :( 

i didn't use -u option (UDP) for nc. consider this bug solved.