This is not really a but in oftpd but a improvement: With this new initscript you can configure the port with the variable FTPPORT in /etc/conf.d/oftpd. Furthermore oftpd does not start anymore when the net startup has failed before (changed "use net" to "need net" in /etc/init.d/oftpd). The new init script is attached. Reproducible: Always Steps to Reproduce: 1./etc/init.d/oftpd restart 2. 3. Actual Results: Only standard ftp port is recognized by oftpd. Expected Results: Different port then stadard port can be used by oftpd. # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.4.28-gentoo-r8 i686) ================================================================= System uname: 2.4.28-gentoo-r8 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 10:01:05)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=i686 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=i686 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks keeptemp noclean sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dfx 3dnow X Xaw3d alsa apache2 apm avi berkdb bitmap-fonts bzlib cdr cpdflib cross crypt cscope cups curl dga directfb divx4linux emboss encode esd ethereal fam flac foomaticdb fortran ftp gcj gdbm ggi gif gimpprint gnome gphoto2 gpm gtk gtk2 imagemagick imap imlib innodb ipv6 java jpeg kde ldap libg++ libwww mad mcal mikmod mmap mmx motif mozilla mp3 mpeg mysql ncurses nis nocardbus nocd odbc ogg oggvorbis openal opengl oss pam pdflib perl php plotutils png posix ppds python qt quicktime readline recode samba sdl shared slang slp snmp sockets spell ssl svg svga tcpd tetex tidy tiff truetype truetype-fonts type1-fonts unicode usb vorbis wmf wxwindows xml2 xmms xpm xsl xv xvid zlib video_cards_r100 userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Created attachment 62040 [details] The enhanced /etc/init.d/oftpd start script Improved version of the /etc/init.d/oftpd start script. Now a non-standard port in /etc/conf.d/oftpd can be used and oftpd does not start when the startup of the net failed before.
added to portage . thanks