Report forwarded to debian-bugs-dist@lists.debian.org, Anthony Towns <ajt@debian.org>:
Bug#113230; Package ifupdown.   debian-bugs-dist@lists.debian.orgAnthony Towns  Subject: Bug#113230: please consider adding dependencies to interfaces Reply-To: Marc Haber , 113230@bugs.debian.org Resent-From: Marc Haber Original-Sender: Marc Haber Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Anthony Towns Resent-Date: Sun, 23 Sep 2001 12:18:06 GMT Resent-Message-ID: Resent-Sender: owner@bugs.debian.org X-Debian-PR-Message: report 113230 X-Debian-PR-Package: ifupdown X-Debian-PR-Keywords: X-Loop: owner@bugs.debian.org Received: via spool by submit@bugs.debian.org id=B.10012473727184 (code B ref -1); Sun, 23 Sep 2001 12:18:06 GMT From: Marc Haber To: Debian Bug Tracking System X-Reportbug-Version: 0.54.1 X-Mailer: reportbug 0.54.1 Date: Sun, 23 Sep 2001 14:16:05 +0200 Message-Id: Sender: Marc Haber Delivered-To: submit@bugs.debian.org Package: ifupdown Version: 0.6.4-3planNET5 Severity: wishlist It is a frequent case when taking down an interfaces affects another. This applies, for example, to secondary IPs that go down with their primary, or interfaces that host tunnels, taking down the tunnel endpoint interfaces as well. There are also some dependencies when one is using advanced routing options like source policy routing that is initialized when the interface that hosts the possible source IP range comes up. Please consider adding a "depends" clause to the iface blocks that causes ifupdown -a to build an initialization order that does honor the dependencies, and that is used to refuse taking down interfaces that other interfaces depend on and to refuse taking up interfaces that need other interfaces being up to properly function. I realize this might be a quite deep modification or ifupdown that certainly wouldn't go into woody. Greetings Marc -- System Information Debian Release: 2.2 Architecture: i386 Kernel: Linux paola 2.2.19 #1 Wed Apr 18 19:00:04 CEST 2001 i686 Versions of packages ifupdown depends on: ii libc6 2.1.3-18 GNU C Library: Shared libraries an ii net-tools 1.58-2planNET2 The NET-3 networking toolkit   Acknowledgement sent to Marc Haber <mh+debian-bugs@zugschlus.de>:
New Bug report received and forwarded. Copy sent to Anthony Towns <ajt@debian.org>.   -t  From: owner@bugs.debian.org (Debian Bug Tracking System) To: Marc Haber Subject: Bug#113230: Acknowledgement (please consider adding dependencies to interfaces) Message-ID: In-Reply-To: References: X-Debian-PR-Message: ack 113230 Reply-To: 113230@bugs.debian.org Thank you for the problem report you have sent regarding Debian. 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): Anthony Towns If you wish to submit further information on your problem, please send it to 113230@bugs.debian.org (and *not* to submit@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. Darren Benham (administrator, Debian Bugs database)   Received: (at submit) by bugs.debian.org; 23 Sep 2001 12:16:12 +0000 From haber@plannet.de Sun Sep 23 07:16:12 2001 Return-path: Received: from mailrelay.plannet.de [212.126.200.57] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 15l8B9-0001ro-00; Sun, 23 Sep 2001 07:16:11 -0500 Received: from paola.int.plannet.de ([192.168.215.31] ident=mail) by mailrelay.planNET.de with esmtp (Exim 3.22 #1) id 15l8B7-0002pC-00; Sun, 23 Sep 2001 14:16:09 +0200 Received: from haber by paola.int.plannet.de with local (Exim 3.31 #4 (Debian)) id 15l8B3-0006my-00; Sun, 23 Sep 2001 14:16:05 +0200 From: Marc Haber To: Debian Bug Tracking System Subject: please consider adding dependencies to interfaces X-Reportbug-Version: 0.54.1 X-Mailer: reportbug 0.54.1 Date: Sun, 23 Sep 2001 14:16:05 +0200 Message-Id: Sender: Marc Haber Delivered-To: submit@bugs.debian.org Package: ifupdown Version: 0.6.4-3planNET5 Severity: wishlist It is a frequent case when taking down an interfaces affects another. This applies, for example, to secondary IPs that go down with their primary, or interfaces that host tunnels, taking down the tunnel endpoint interfaces as well. There are also some dependencies when one is using advanced routing options like source policy routing that is initialized when the interface that hosts the possible source IP range comes up. Please consider adding a "depends" clause to the iface blocks that causes ifupdown -a to build an initialization order that does honor the dependencies, and that is used to refuse taking down interfaces that other interfaces depend on and to refuse taking up interfaces that need other interfaces being up to properly function. I realize this might be a quite deep modification or ifupdown that certainly wouldn't go into woody. Greetings Marc -- System Information Debian Release: 2.2 Architecture: i386 Kernel: Linux paola 2.2.19 #1 Wed Apr 18 19:00:04 CEST 2001 i686 Versions of packages ifupdown depends on: ii libc6 2.1.3-18 GNU C Library: Shared libraries an ii net-tools 1.58-2planNET2 The NET-3 networking toolkit   Merged 101317 113230 193679 265650 290406. Request was from Thomas Hood <jdthood@aglu.demon.nl> to control@bugs.debian.org.   Received: (at control) by bugs.debian.org; 14 Jan 2005 09:43:54 +0000 From jdthood@aglu.demon.nl Fri Jan 14 01:43:54 2005 Return-path: Received: from post-24.mail.nl.demon.net [194.159.73.194] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1CpNzl-00009W-00; Fri, 14 Jan 2005 01:43:54 -0800 Received: from aglu.demon.nl ([83.160.174.170]:57084 helo=localhost) by post-24.mail.nl.demon.net with esmtp (Exim 4.34) id 1CpNzk-000OY4-6V; Fri, 14 Jan 2005 09:43:52 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id D1E3910D789; Fri, 14 Jan 2005 10:43:28 +0100 (CET) Subject: Re: Bug#290406: ifupdown problem whith vlan devices From: Thomas Hood To: 290406-submitter@bugs.debian.org In-Reply-To: <936051359F9E1261589F5B02@eva.local> References: <936051359F9E1261589F5B02@eva.local> Content-Type: text/plain Date: Fri, 14 Jan 2005 10:43:28 +0100 Message-Id: <1105695808.29657.4.camel@thanatos> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 Content-Transfer-Encoding: 7bit Delivered-To: control@bugs.debian.org X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER, VALID_BTS_CONTROL autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: severity 290406 wishlist merge 113230 290406 101317 193679 265650 thanks All these wish reports have to do with enslavement of interfaces, something that ifupdown apparently doesn't handle well at present. On Fri, 2005-01-14 at 00:17 +0100, Manon Goo wrote: > when I use vlan devices I must enshure that the > vlandevices are configured last (after their parent ethernet or bond > devices) and deconfigured first (before their parrent devices). > if this does not happen the system may hang when rebooting. > > This seams not to be possible withe the ifup -a and ifdown -a commands > because they will use the same order and not the reverse. Can you not use "pre-up", "up", "down" and "post-down" commands to do things in the required order? If not then please explain why not. > I have patched the /etc/init.d/networking as follows: (That script is actually in the netbase package.) -- Thomas Hood