Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 35642

Summary: enabling ipv6 on ftp client
Product: [Retired] Red Hat Linux Reporter: Pekka Savola <pekkas>
Component: ftpAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-04-25 20:36:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pekka Savola 2001-04-11 16:12:08 UTC
Please patch 'ftp' client (no need for the server IMO) to
enable ipv6 too.

.src.rpm against the latest (0.17-7) is available at
http://www.netcore.fi/pekkas/linux/ipv6/

Comment 1 Bernhard Rosenkraenzer 2001-04-15 19:54:16 UTC
Thanks, done in 0.17-9


Comment 2 Pekka Savola 2001-04-25 20:36:11 UTC
Mm.. Did you forget to enable the patch too? :-)

--- ftp.spec    Sun Apr 15 22:54:40 2001
+++ f   Wed Apr 25 23:28:34 2001
@@ -22,9 +22,10 @@
 %setup -q -n netkit-ftp-%{version}
 %patch1 -p1
 %patch2 -p1 -b .acct
+%patch3 -p1 -b .usagi
 
 %build
-sh configure --with-c-compiler=gcc
+sh configure --with-c-compiler=gcc --enable-ipv6
 perl -pi -e '
     s,^CC=.*$,CC=cc,;
     s,-O2,\$(RPM_OPT_FLAGS),;



I also noted that ftp client, when rebuilt, crashes on RHL62 even without any patches:

$ ./ftp ftp.kame.net
Connected to kame220.kame.net.
220-
220 apple.kame.net FTP server (NetBSD-ftpd 20010329) ready.
Name (ftp.kame.net:pekkas): ftp
331 Guest login ok, type your name as password.
Password:
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
Segmentation fault

Program received signal SIGSEGV, Segmentation fault.
0x400d163f in _IO_fflush (fp=0x4016dc40) at iofflush.c:41
41      iofflush.c: No such file or directory.
(gdb) bt
#0  0x400d163f in _IO_fflush (fp=0x4016dc40) at iofflush.c:41
#1  0x40028738 in rl_prep_terminal () from /usr/lib/libreadline.so.3
#2  0x4002329f in readline () from /usr/lib/libreadline.so.3
#3  0x8052ce4 in get_input_line ()
#4  0x8052ea3 in cmdscanner ()
#5  0x8052bc9 in main ()
#6  0x400979cb in __libc_start_main (main=0x80528d0 <main>, argc=2, argv=0xbffffa64, 
    init=0x80493e8 <_init>, fini=0x805437c <_fini>, rtld_fini=0x4000aea0 <_dl_fini>, 
    stack_end=0xbffffa5c) at ../sysdeps/generic/libc-start.c:92

$ rpm -q readline
readline-2.2.1-6

Too old readline I suppose.  But something has broken this some time ago.


Comment 3 Bernhard Rosenkraenzer 2001-05-18 10:30:35 UTC
Really fixed in 0.17-11.