Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6037072rdb; Thu, 14 Dec 2023 06:52:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IFzGKaY3mQUNwAr9jTX4bzPnAUqtMZKhxg3BfgLFP+qaqSIiqmasav/Clt0zgFDEmhPsHmE X-Received: by 2002:a05:6a21:339b:b0:18f:97c:b9ea with SMTP id yy27-20020a056a21339b00b0018f097cb9eamr5940050pzb.68.1702565554094; Thu, 14 Dec 2023 06:52:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702565554; cv=none; d=google.com; s=arc-20160816; b=wIBVyhb0BVAxfZ5E1s00oKqikD4hga32S5l+X6TMJbp/hlf7iuM3IrA8+qbzGDfpXi CLU8VAJR5Mfr6fAl8kcLlpTkpDFlb1mUZP8kdUHgENxzpyU0yFyYLLLbktKg9d17CLdE Zw8MLHoaUs4n+RloZ9ezOqkScAkwc+j2+qT7LJzBw5FGJfC5Q7zVxGktrApsKprMo6/z SHL4+qxZZfkOZ5xx9GBmlO/ne6/HL3FmK5xOpcQMovDY5RCwEjF5BDWWdIyfAZEAnac6 ndiEovCsXy7w0N9bz5vj8uufm4RNsZEHehTlnedZFCZqNXPGYksylkIZjl3wjoX917m+ 20+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=kRql+GwSPznHnnIwuDv3FvENld3LuUCkNpS6nae+YqY=; fh=nvrfxrRL6yTjdzjzuyW0esT4jBxKco3E79PlrLHTLZM=; b=Ovhzh9WgQWwcIyxCaratuEQlba6ilh4YDx1iTfFgnHzXP4KnUbRQNSuJ1+jXVzvDM5 +qB/9NPt0IkhEeH//DSdBe71W+YxdKCjal6xUWCPDcJLORWQFKGt/4XLVvdPqbngs5tg 0dmsolyt9hVuTo1eX8E6+2Z6Kt6t5Dmgp+/O1ONMrZCkVWjf3Eck5eTrwf3pHWIgJ77C vkrePy4I8PHuWs1n8te4s/ih8LegfFmUlbjSJGRF3NcYPXKIreukh6esFjr2kS8rKeY8 0TR+yGiEN9ExIZflyO3meR/HoS/nhjGBvrEjgLlnaBqHIzR/tK8sYb3r8qmyCB7ZybTj HBpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=ATq1vHA0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id j7-20020a654287000000b005c1b2e37aeasi11470126pgp.384.2023.12.14.06.52.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 06:52:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=ATq1vHA0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 26D9B82372E2; Thu, 14 Dec 2023 06:51:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573547AbjLNOus (ORCPT + 99 others); Thu, 14 Dec 2023 09:50:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573561AbjLNOui (ORCPT ); Thu, 14 Dec 2023 09:50:38 -0500 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E55B126 for ; Thu, 14 Dec 2023 06:50:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=kRql+GwSPznHnnIwuDv3FvENld3LuUCkNpS6nae+YqY=; b=ATq1vHA0MEpgy24y9rXI/050ovv08oShUpGXhCAnr4ddbqGqbYYTEiuy xR8JPnLrwbfOaSrrWOazlah1TaZyCMtDqY66V0HGhm7gnru+qqJiSQ6yE T/Dxk+rp+KxnzluPnASH5ClzjwKakKs+GnoIE6WlzwXDFJ+GSW3GG7bnx Y=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=julia.lawall@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.04,275,1695679200"; d="scan'208";a="142332816" Received: from 231.85.89.92.rev.sfr.net (HELO hadrien) ([92.89.85.231]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2023 15:50:41 +0100 Date: Thu, 14 Dec 2023 15:50:41 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Ivan Vecera cc: "David S. Miller" , linux-kernel@vger.kernel.org Subject: Re: Failed to start Raise network interfaces error In-Reply-To: <4a053d6a-92c6-4d01-bfe5-2349d64cc429@redhat.com> Message-ID: References: <21977757-3a63-4586-ae03-e6630c1f009d@redhat.com> <4c707e3e-a324-a5e6-dc21-833b6d40324d@inria.fr> <88a7a623-ad80-406c-a63b-3136df963888@redhat.com> <4a053d6a-92c6-4d01-bfe5-2349d64cc429@redhat.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 14 Dec 2023 06:51:08 -0800 (PST) On Thu, 14 Dec 2023, Ivan Vecera wrote: > On 14. 12. 23 15:33, Julia Lawall wrote: > > > > > > On Tue, 12 Dec 2023, Ivan Vecera wrote: > > > > > > > > > > > On 12. 12. 23 17:33, Julia Lawall wrote: > > > > > Look at 'systemd.net-naming-scheme' man page for details how the > > > > > interface > > > > > names are composed. > > > > After booting into 6.7.0-rc4, I have the following in > > > > /etc/network/interfaces: > > > > > > > > # This file describes the network interfaces available on your system > > > > # and how to activate them. For more information, see interfaces(5). > > > > > > > > source/etc/network/interfaces.d/* > > > > > > > > # The loopback network interface > > > > auto lo > > > > iface lo inet loopback > > > > > > > > auto enp24s0f0 > > > > iface enp24s0f0 inet dhcp > > > > > > Just change 'enp24s0f0' in /etc/network/interfaces to 'enp24s0f0np0' > > > > Hello, > > > > I don't know if anything can be done about it, but this change introduces > > complexities. The people who manage the cluster that I use say that the > > name of the network interface should be predictable, which is no longer > > the case because it now depends on the kernel version. > > In this case, you can configure custom udev rule that will fix the name of the > interface... Like: > > host ~ # cat /etc/udev/rules.d/70-network.rules > ACTION=="add", SUBSYSTEM=="net", DRIVERS=="i40e",\ > ATTR{address}=="xx:xx:xx:xx:xx:xx", NAME="enp24s0f0" > ACTION=="add", SUBSYSTEM=="net", DRIVERS=="i40e",\ > ATTR{address}=="yy:yy:yy:yy:yy:yy", NAME="enp24s0f1" Thanks! julia