Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757350Ab2BDCPF (ORCPT ); Fri, 3 Feb 2012 21:15:05 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:37645 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752684Ab2BDCPD (ORCPT ); Fri, 3 Feb 2012 21:15:03 -0500 X-Sasl-enc: uuPzYEPx3R8RLB8pqX5B8CaUnCLERhvJaiHGJrQoqQjX 1328321701 Date: Sat, 4 Feb 2012 00:14:57 -0200 From: Henrique de Moraes Holschuh To: Kay Sievers Cc: Jiri Slaby , "Eric W. Biederman" , Greg KH , LKML , ML netdev Subject: Re: network regression: cannot rename netdev twice Message-ID: <20120204021457.GA25386@khazad-dum.debian.net> References: <4F27120A.4040106@suse.cz> <4F27C54F.1010107@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1024D/1CDB0FE3 5422 5C61 F6B7 06FB 7E04 3738 EE25 DE3F 1CDB 0FE3 User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1249 Lines: 25 On Tue, 31 Jan 2012, Kay Sievers wrote: > Please make sure nothing tries to swap netif names in userspace. We > have given up that approach, because it is far too fragile to > temporary rename devices to be able to swap the names, and race > against the loading of new kernel network drivers at the same time. That's a damn fair reason, but the loss of that functionality could cause trouble. In fact, at first glance, to me it looks like this has a large potential for unleashing untold pain and suffering in the sysadmin ranks unless early userspace can emulate it somehow. Is it possible to configure the kernel to use something other than "eth#" as its initial namespace for netif names? Or is there some other way to get eth1 to be what you need eth1 to be during userland boot? -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- 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/