Report forwarded to debian-bugs-dist@lists.debian.org, Michael Alan Dorman <mdorman@debian.org>:
Bug#7486; Package ncftp.   debian-bugs-dist@lists.debian.orgMichael Alan Dorman  Subject: Bug#7486: QUIT not working when interface is down Reply-To: ioannis@flinet.com, 7486@bugs.debian.org Resent-From: ioannis@flinet.com Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Michael Alan Dorman Resent-Date: Wed, 19 Feb 1997 18:18:05 GMT Resent-Message-ID: Resent-Sender: iwj@debian.org X-Debian-PR-Package: ncftp X-Debian-PR-Keywords: X-Loop: owner@bugs.debian.org Received: via spool by bugs@bugs.debian.org id=B.85637544218651 (code B ref -1); Wed, 19 Feb 1997 18:18:05 GMT Date: Wed, 19 Feb 1997 12:38:01 -0500 From: ioannis@flinet.com Message-Id: <199702191738.MAA01831@ohiox.haw.org> To: ioannis@flinet.com, submit@bugs.debian.org Package: ncftp Version: 2.4.2-1 If the QUIT command is issued after the ppp0 interface is removed (ppp no longer running) the program never completes the quit command. It keeps trying forever. Only C will help it exit cleanly, but a \ will also dump core. That is -INT does not dump, but -QUIT dumps (same as default sig behavior). ============================================================================ > q RUNNING /pub/Linux/Debian/bo/binary-i386/libQuit (core dumped) ========================================================================== (System is mostly 1.3) -- System Information Debian Release: 1.2 Kernel Version: Linux ohiox 2.0.27 #2 Tue Jan 21 18:16:26 EST 1997 i486 Versions of the packages ncftp depends on: libc5 Version: 5.4.20-1 ncurses3.0 Version: 1.9.9e-1   Acknowledgement sent to ioannis@flinet.com:
New bug report received and forwarded. Copy sent to Michael Alan Dorman <mdorman@debian.org>.   -t  From: owner@bugs.debian.org (Ian Jackson) To: ioannis@flinet.com Subject: Bug#7486: Acknowledgement (was: QUIT not working when interface is down) Message-ID: In-Reply-To: <199702191738.MAA01831@ohiox.haw.org> References: <199702191738.MAA01831@ohiox.haw.org> Thank you for the problem report you have sent regarding Debian Linux. This is an automatically generated reply, to let you know your message has been received. It is being forwarded to the developers' mailing list for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Michael Alan Dorman If you wish to submit further information on your problem, please send it to 7486@bugs.debian.org (and *not* to bugs@bugs.debian.org). Please do not reply to the address at the top of this message, unless you wish to report a problem with the bug-tracking system. Ian Jackson (maintainer, Debian bug tracking system)   Received: (at submit) by bugs.debian.org; 19 Feb 1997 18:04:01 +0000 Received: (qmail 18649 invoked from network); 19 Feb 1997 18:03:57 -0000 Received: from pm8-33.flinet.com (HELO ohiox.haw.org) (root@208.14.24.33) by master.debian.org with SMTP; 19 Feb 1997 18:03:56 -0000 Received: (from ioannis@localhost) by ohiox.haw.org (8.8.4/8.8.4) id MAA01831; Wed, 19 Feb 1997 12:38:01 -0500 Date: Wed, 19 Feb 1997 12:38:01 -0500 From: ioannis@flinet.com Message-Id: <199702191738.MAA01831@ohiox.haw.org> To: ioannis@flinet.com, submit@bugs.debian.org Subject: QUIT not working when interface is down Package: ncftp Version: 2.4.2-1 If the QUIT command is issued after the ppp0 interface is removed (ppp no longer running) the program never completes the quit command. It keeps trying forever. Only C will help it exit cleanly, but a \ will also dump core. That is -INT does not dump, but -QUIT dumps (same as default sig behavior). ============================================================================ > q RUNNING /pub/Linux/Debian/bo/binary-i386/libQuit (core dumped) ========================================================================== (System is mostly 1.3) -- System Information Debian Release: 1.2 Kernel Version: Linux ohiox 2.0.27 #2 Tue Jan 21 18:16:26 EST 1997 i486 Versions of the packages ncftp depends on: libc5 Version: 5.4.20-1 ncurses3.0 Version: 1.9.9e-1   Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#7486; Package ncftp.   debian-bugs-dist@lists.debian.org  Subject: Bug#7486: QUIT not working when interface is down Reply-To: Martin Mitchell , 7486@bugs.debian.org Resent-From: Martin Mitchell Resent-To: debian-bugs-dist@lists.debian.org Resent-Date: Wed, 15 Apr 1998 18:48:01 GMT Resent-Message-ID: Resent-Sender: iwj@debian.org X-Debian-PR-Message: report 7486 X-Debian-PR-Package: ncftp X-Debian-PR-Keywords: X-Loop: owner@bugs.debian.org Received: via spool by 7486-bugs@bugs.debian.org id=B7486.89266538132104 (code B ref 7486); Wed, 15 Apr 1998 18:48:01 GMT To: 7486@bugs.debian.org From: Martin Mitchell Date: 16 Apr 1998 04:34:58 +1000 Message-ID: <87hg3vdjcd.fsf@mail.usyd.edu.au> Lines: 4 X-Mailer: Gnus v5.4.64/Emacs 19.34 I can confirm this bug still exists. I find it annoying too, and will be investigating a solution. Do you have any more information? Martin.   Acknowledgement sent to Martin Mitchell <martin@debian.org>:
Extra info received and forwarded to list.   -t  From: owner@bugs.debian.org (Ian Jackson) To: Martin Mitchell Subject: Bug#7486: Info received (was QUIT not working when interface is down) Message-ID: In-Reply-To: <87hg3vdjcd.fsf@mail.usyd.edu.au> References: <87hg3vdjcd.fsf@mail.usyd.edu.au> X-Debian-PR-Message: ack-info-maintonly 7486 Thank you for the additional information you have supplied regarding this problem report. It has been forwarded to the developer(s) and to the developers' mailing list to accompany the original report. If you wish to continue to submit further information on your problem, please send it to 7486@bugs.debian.org, as before. Please do not reply to the address at the top of this message, unless you wish to report a problem with the bug-tracking system. Ian Jackson (administrator, Debian bugs database)   Received: (at 7486) by bugs.debian.org; 15 Apr 1998 18:36:21 +0000 Received: (qmail 32101 invoked from network); 15 Apr 1998 18:36:11 -0000 Received: from acay019126177.acay.com.au (HELO alkan) (mail@203.19.126.177) by debian.novare.net with SMTP; 15 Apr 1998 18:36:11 -0000 Received: from mem by alkan with local (Exim 1.90 #1) id 0yPX1O-0000vq-00 (Debian); Thu, 16 Apr 1998 04:34:58 +1000 To: 7486@bugs.debian.org Subject: QUIT not working when interface is down From: Martin Mitchell Date: 16 Apr 1998 04:34:58 +1000 Message-ID: <87hg3vdjcd.fsf@mail.usyd.edu.au> Lines: 4 X-Mailer: Gnus v5.4.64/Emacs 19.34 I can confirm this bug still exists. I find it annoying too, and will be investigating a solution. Do you have any more information? Martin.   Bug reassigned from package `ncftp' to `ncftp2'. Request was from Martin Mitchell <martin@debian.org> to control@bugs.debian.org.   Received: (at control) by bugs.debian.org; 18 Mar 1999 15:19:51 +0000 Received: (qmail 28524 invoked from network); 18 Mar 1999 15:19:50 -0000 Received: from p12-max30.syd.ihug.com.au (HELO alkan) (mail@206.17.110.140) by master.debian.org with SMTP; 18 Mar 1999 15:19:50 -0000 Received: from mem by alkan with local (Exim 2.11 #1) id 10NeZv-0002jR-00 (Debian); Fri, 19 Mar 1999 02:19:23 +1100 To: control@bugs.debian.org Subject: ncftp->ncftp2 bug reassignments Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Martin Mitchell Date: 19 Mar 1999 02:19:22 +1100 Message-ID: <873e32x1tx.fsf@mail.usyd.edu.au> Lines: 16 X-Mailer: Gnus v5.6.45/Emacs 19.34 reassign 7189 ncftp2 reassign 7486 ncftp2 reassign 8204 ncftp2 reassign 10004 ncftp2 reassign 10973 ncftp2 reassign 11061 ncftp2 reassign 13302 ncftp2 reassign 17487 ncftp2 reassign 19214 ncftp2 reassign 22451 ncftp2 reassign 22670 ncftp2 reassign 22789 ncftp2 reassign 32656 ncftp2 reassign 27767 ncftp2 merge 22760 27767 thanks   Reply sent to Chris Lawrence <lawrencc@debian.org>:
You have taken responsibility.   -t  From: owner@bugs.debian.org (Debian Bug Tracking System) To: Chris Lawrence Bcc: debian-bugs-closed@lists.debian.org Subject: Bug#7486: marked as done (QUIT not working when interface is down) Message-ID: In-Reply-To: <20010127224134.A16851@watervalley.net> References: <20010127224134.A16851@watervalley.net> <199702191738.MAA01831@ohiox.haw.org> X-Debian-PR-Message: closed 7486 Your message dated Sat, 27 Jan 2001 22:41:34 -0600 with message-id <20010127224134.A16851@watervalley.net> and subject line Quit freezes if interface goes down has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Darren Benham (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 19 Feb 1997 18:04:01 +0000 Received: (qmail 18649 invoked from network); 19 Feb 1997 18:03:57 -0000 Received: from pm8-33.flinet.com (HELO ohiox.haw.org) (root@208.14.24.33) by master.debian.org with SMTP; 19 Feb 1997 18:03:56 -0000 Received: (from ioannis@localhost) by ohiox.haw.org (8.8.4/8.8.4) id MAA01831; Wed, 19 Feb 1997 12:38:01 -0500 Date: Wed, 19 Feb 1997 12:38:01 -0500 From: ioannis@flinet.com Message-Id: <199702191738.MAA01831@ohiox.haw.org> To: ioannis@flinet.com, submit@bugs.debian.org Subject: QUIT not working when interface is down Package: ncftp Version: 2.4.2-1 If the QUIT command is issued after the ppp0 interface is removed (ppp no longer running) the program never completes the quit command. It keeps trying forever. Only C will help it exit cleanly, but a \ will also dump core. That is -INT does not dump, but -QUIT dumps (same as default sig behavior). ============================================================================ > q RUNNING /pub/Linux/Debian/bo/binary-i386/libQuit (core dumped) ========================================================================== (System is mostly 1.3) -- System Information Debian Release: 1.2 Kernel Version: Linux ohiox 2.0.27 #2 Tue Jan 21 18:16:26 EST 1997 i486 Versions of the packages ncftp depends on: libc5 Version: 5.4.20-1 ncurses3.0 Version: 1.9.9e-1 --------------------------------------- Received: (at 7486-done) by bugs.debian.org; 28 Jan 2001 04:41:41 +0000 From quango@watervalley.net Sat Jan 27 22:41:40 2001 Return-path: Received: from mail.watervalley.net (watervalley.net) [::ffff:216.220.140.3] by master.debian.org with smtp (Exim 3.12 1 (Debian)) id 14Mjem-0006c1-00; Sat, 27 Jan 2001 22:41:40 -0600 Received: from [216.220.142.42] (HELO quantex) by watervalley.net (Stalker SMTP Server 1.8b8) with ESMTP id S.0013333950 for <7486-done@bugs.debian.org>; Sat, 27 Jan 2001 22:41:43 -0600 Received: by quantex (Postfix, from userid 1000) id D42573015; Sat, 27 Jan 2001 22:41:34 -0600 (CST) Date: Sat, 27 Jan 2001 22:41:34 -0600 From: Chris Lawrence To: 7486-done@bugs.debian.org Subject: Quit freezes if interface goes down Message-ID: <20010127224134.A16851@watervalley.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i Organization: The University of Mississippi (Standard Disclaimer Applies) X-Operating-System: Linux/i686 2.4.0 Delivered-To: 7486-done@bugs.debian.org OK, this is what happens: When the interface goes down, the connection to the FTP site is still alive (at least in the kernel's eyes). When you quit, the QUIT command is sent to the server. It can't get there, because the interface is down. Eventually (after 10 minutes, by default), the connection will time out and ncftp will quit on its own. There is nothing that can really be done about this. Perhaps the kernel should sever connections over a downed interface, which might solve the problem, but there's probably no reliable way to do this from user space. A workaround would be to set your timeout to something relatively low (say 15 sec.). Chris -- Chris Lawrence - http://www.lordsutch.com/chris/ Computer Systems Manager (Physics & Astronomy, 125 Lewis, 662-915-5765) Instructor, POL 101 (Political Science, 208 Deupree, 662-915-5949)   Notification sent to ioannis@flinet.com:
Bug acknowledged by developer.   -t  From: owner@bugs.debian.org (Debian Bug Tracking System) To: ioannis@flinet.com Subject: Bug#7486 acknowledged by developer (Quit freezes if interface goes down) Message-ID: In-Reply-To: <199702191738.MAA01831@ohiox.haw.org> References: <20010127224134.A16851@watervalley.net> <199702191738.MAA01831@ohiox.haw.org> X-Debian-PR-Message: they-closed 7486 This is an automatic notification regarding your Bug report #7486: QUIT not working when interface is down, which was filed against the ncftp2 package. It has been closed by one of the developers, namely Chris Lawrence . Their explanation is attached below. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact the developer directly, or email 7486@bugs.debian.org or me. Darren Benham (administrator, Debian Bugs database) Received: (at 7486-done) by bugs.debian.org; 28 Jan 2001 04:41:41 +0000 From quango@watervalley.net Sat Jan 27 22:41:40 2001 Return-path: Received: from mail.watervalley.net (watervalley.net) [::ffff:216.220.140.3] by master.debian.org with smtp (Exim 3.12 1 (Debian)) id 14Mjem-0006c1-00; Sat, 27 Jan 2001 22:41:40 -0600 Received: from [216.220.142.42] (HELO quantex) by watervalley.net (Stalker SMTP Server 1.8b8) with ESMTP id S.0013333950 for <7486-done@bugs.debian.org>; Sat, 27 Jan 2001 22:41:43 -0600 Received: by quantex (Postfix, from userid 1000) id D42573015; Sat, 27 Jan 2001 22:41:34 -0600 (CST) Date: Sat, 27 Jan 2001 22:41:34 -0600 From: Chris Lawrence To: 7486-done@bugs.debian.org Subject: Quit freezes if interface goes down Message-ID: <20010127224134.A16851@watervalley.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i Organization: The University of Mississippi (Standard Disclaimer Applies) X-Operating-System: Linux/i686 2.4.0 Delivered-To: 7486-done@bugs.debian.org OK, this is what happens: When the interface goes down, the connection to the FTP site is still alive (at least in the kernel's eyes). When you quit, the QUIT command is sent to the server. It can't get there, because the interface is down. Eventually (after 10 minutes, by default), the connection will time out and ncftp will quit on its own. There is nothing that can really be done about this. Perhaps the kernel should sever connections over a downed interface, which might solve the problem, but there's probably no reliable way to do this from user space. A workaround would be to set your timeout to something relatively low (say 15 sec.). Chris -- Chris Lawrence - http://www.lordsutch.com/chris/ Computer Systems Manager (Physics & Astronomy, 125 Lewis, 662-915-5765) Instructor, POL 101 (Political Science, 208 Deupree, 662-915-5949)   Received: (at 7486-done) by bugs.debian.org; 28 Jan 2001 04:41:41 +0000 From quango@watervalley.net Sat Jan 27 22:41:40 2001 Return-path: Received: from mail.watervalley.net (watervalley.net) [::ffff:216.220.140.3] by master.debian.org with smtp (Exim 3.12 1 (Debian)) id 14Mjem-0006c1-00; Sat, 27 Jan 2001 22:41:40 -0600 Received: from [216.220.142.42] (HELO quantex) by watervalley.net (Stalker SMTP Server 1.8b8) with ESMTP id S.0013333950 for <7486-done@bugs.debian.org>; Sat, 27 Jan 2001 22:41:43 -0600 Received: by quantex (Postfix, from userid 1000) id D42573015; Sat, 27 Jan 2001 22:41:34 -0600 (CST) Date: Sat, 27 Jan 2001 22:41:34 -0600 From: Chris Lawrence To: 7486-done@bugs.debian.org Subject: Quit freezes if interface goes down Message-ID: <20010127224134.A16851@watervalley.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i Organization: The University of Mississippi (Standard Disclaimer Applies) X-Operating-System: Linux/i686 2.4.0 Delivered-To: 7486-done@bugs.debian.org OK, this is what happens: When the interface goes down, the connection to the FTP site is still alive (at least in the kernel's eyes). When you quit, the QUIT command is sent to the server. It can't get there, because the interface is down. Eventually (after 10 minutes, by default), the connection will time out and ncftp will quit on its own. There is nothing that can really be done about this. Perhaps the kernel should sever connections over a downed interface, which might solve the problem, but there's probably no reliable way to do this from user space. A workaround would be to set your timeout to something relatively low (say 15 sec.). Chris -- Chris Lawrence - http://www.lordsutch.com/chris/ Computer Systems Manager (Physics & Astronomy, 125 Lewis, 662-915-5765) Instructor, POL 101 (Political Science, 208 Deupree, 662-915-5949)