Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757352Ab2BHUHX (ORCPT ); Wed, 8 Feb 2012 15:07:23 -0500 Received: from lennier.cc.vt.edu ([198.82.162.213]:49305 "EHLO lennier.cc.vt.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755715Ab2BHUHV (ORCPT ); Wed, 8 Feb 2012 15:07:21 -0500 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3-dev To: Kay Sievers Cc: Henrique de Moraes Holschuh , Jiri Slaby , "Eric W. Biederman" , Greg KH , LKML , ML netdev Subject: Re: network regression: cannot rename netdev twice In-Reply-To: Your message of "Wed, 08 Feb 2012 11:57:18 +0100." From: Valdis.Kletnieks@vt.edu References: <4F27120A.4040106@suse.cz> <4F27C54F.1010107@suse.cz> <20120204021457.GA25386@khazad-dum.debian.net> <20120208020038.GE13296@khazad-dum.debian.net> <14373.1328683324@turing-police.cc.vt.edu> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1328731572_2846P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 08 Feb 2012 15:06:12 -0500 Message-ID: <10120.1328731572@turing-police.cc.vt.edu> X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu Valdis.Kletnieks@vt.edu 2 pass X-Junkmail-Status: score=10/50, host=dagger.cc.vt.edu X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A02020B.4F32D5B5.0162,ss=1,re=0.000,fgs=0, ip=0.0.0.0, so=2011-07-25 19:15:43, dmn=2011-05-27 18:58:46, mode=single engine X-Junkmail-IWF: false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2495 Lines: 58 --==_Exmh_1328731572_2846P Content-Type: text/plain; charset=us-ascii On Wed, 08 Feb 2012 11:57:18 +0100, Kay Sievers said: > On Wed, Feb 8, 2012 at 07:42, wrote: > > Or is this sort of thing in /etc/udev/rules.d/70-persistent-net.rules > > SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:25:90:0b:f2:80", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" > > what you are trying to move to, and my systems are already onboard and > > I should just move along, nothing to see here? ;) > > Yeah, that's what we did in the past. It works fine if you never have > to swap names like eth0 and eth1, with need to free one of the the > names with a temporary rename. Well, if I had my druthers, I'd stick name="net-mgt", "net-pub", and "net-10g" in the udev rules, and not care about 1/2/3 and race conditions, because meaningful names are easier to not screw up (just last week found a system that had eth1 and eth2 reversed in some iptables rules, wouldn't have happened if they were -mgt and -pub). Only thing stopping me is getting iptables to accept '-i net-10g', and the distro /etc/sysconfig/network scripts like ifup and ifdown playing nice.... So it sounds like what I want as a sysadmin is the same thing you want as a maintainer... --==_Exmh_1328731572_2846P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Exmh version 2.5 07/13/2001 iQIVAwUBTzLVswdmEQWDXROgAQKTow/+PfuLy+BL6CkiXgzQ6L1DnUU/lXkmfiTQ k2+SkNdngLkflPcnhDf3I9v3aoA14Q7hq5v/vtsaMZf115yo/b1ON+m8yeo2LxYs CJlu9wTIJq7xzpjDlJgfmzCIl+XZMiui8+J6q7aRus7mnkyFKF1uvaY07nusXzzO k3K1YWJJnrjmCcwONwogTXRUnes8nXwBVomHV2PSSWAad6IcAxd/3Ai5ryeixYuA aDGAfGWjcgxzDB93G/ZIG0HdbguLuOdjVt5DBAezXJGqIzd+Ipg1fj8lkdNb3Tfl j8AmPiiDIzxwNqzrWSy4gabHaXlD0zgQuwp3+HddQW96U6RQvh+LlfhtRLySv+FN gcO5rWX7IIpqGFtgfXkOm6uET+RqSqNWBVM2aAQEcAn3klkuvxUEt2Y0zFs3tplJ OMOL4HYNBkq6Gmrbin1H8YaIOiyXeXP8floFxe0Sp8l/XA4FTDwkrStxKKJFEiy5 VUpX77hs8lzpLzmSyx8gzEfY6RGuSpZhmy9Hov8EybHhlh5IcCpE8PSZIyOny3eZ WaEwbYnbUeT565BwCVtoWL79Eilt9p8pDD+xIKE2E9WP0G5iYO6M4Aqs3R76qtQI vg0Sji4ITIUCQcMT3SfYGHrRM//ZHRcuXkLT2let4QUHdSs0Krfpxs8BDnDbn8g6 PJvns7OWjwA= =3HYM -----END PGP SIGNATURE----- --==_Exmh_1328731572_2846P-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/