Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6034589rdb; Thu, 14 Dec 2023 06:48:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IFA+UmqyEnwDH8tFLefxI85JLbjPeR3RQSwx+7XwE1SKnpzvi6W8MXR7H8pmi32G8btIZM+ X-Received: by 2002:a17:90b:230d:b0:28a:fcdb:8e99 with SMTP id mt13-20020a17090b230d00b0028afcdb8e99mr981928pjb.83.1702565303729; Thu, 14 Dec 2023 06:48:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702565303; cv=none; d=google.com; s=arc-20160816; b=eOx4/uTK17kxxqfSI8AqH8ZkSBEmZYCC0BurM49/j7uDAmnLTLYuypsakpSb8oOmO0 gI/qsIZl9F92K27j/aT4D47JVQediKPHZ0kSLiFdTGvTipfW5aweJQQknhsAJLrk1MFu wIT4T7Jy6ajV1WTofChG3LOZnjehMSmR6oA7E16kAy2Ba5/T2vQ8NWBV5rhyTpWeo8Kp QgyY0e8gyyQlA1lcafpXG7xgeKCVqf+6obNTolPvyG2jttEk1SbB6ku6z/nRTp6pFxru JMVeShVJG8kEwbuFFzWRgrHvjZMfbQhucwnV9nGSqVatnu+FYPXdsTlXTedZEzN7u2DB LnVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=FQrhIHbv64EnZ37/gcr7zz8rNHgYkKc/dh/c/WTZJ7U=; fh=pyiYNfKQAJHe4ViWr8BUDbIQ4Ht3k5MHN6lJPGrf3iM=; b=V6QVh1Vgp+8IHvqn937IqfGIvYV/65zYPvuov5cs5xjBk3AMsq/AdGaGt1QOUyOTWM qwKlll1kIKV8gYN9duHyxcB8qTeX8vc4hzhs02m6YNmzglf5WGaZOU70ukqkVMzUFpVB kcnrOAkqUDDI6EbNcv3M4+t0X6tUPU0VoUg7BJ1iE1xdRwWcC7T2IYNtCLFauXe2FOBM ugjblwfHsXjWAkv1Lcqq5jDm9q3lxwHVqLoy2jz2TtWAlFK7cPecMsrUcl1A3H0PayCI VXa5pxZdkvFsnIR04prY/FGDot7+VTyEa9pDHGcu+fAjzQm740ZiCbfC7rH/aRYQbzbr Z6rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WN7hR1gX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id r3-20020a17090a2e8300b0028afcdb8e9bsi1844300pjd.162.2023.12.14.06.48.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 06:48:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WN7hR1gX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 2B4EF80EA943; Thu, 14 Dec 2023 06:48:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573536AbjLNOsH (ORCPT + 99 others); Thu, 14 Dec 2023 09:48:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573501AbjLNOsE (ORCPT ); Thu, 14 Dec 2023 09:48:04 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C61A131 for ; Thu, 14 Dec 2023 06:48:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702565289; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FQrhIHbv64EnZ37/gcr7zz8rNHgYkKc/dh/c/WTZJ7U=; b=WN7hR1gXk3aNkl/WK2zc/nLeH4nZ8M6froo42esLK/a16FsNhN2a6ya4/CLCBk00FU510S UuBewzyLXHOq0yGbNuEpLm+ATZvUZJa7nvzY6fFg7NJbUEjVStnRyh08uPyUytZn2N0gnX aKmhwWgKyBqd//SKY/FVJQpSu0PA8k0= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-65-dKF00F-TNeSK-gS_hQT0aA-1; Thu, 14 Dec 2023 09:48:07 -0500 X-MC-Unique: dKF00F-TNeSK-gS_hQT0aA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 816C91E441D1; Thu, 14 Dec 2023 14:48:00 +0000 (UTC) Received: from [10.45.224.252] (unknown [10.45.224.252]) by smtp.corp.redhat.com (Postfix) with ESMTP id DCB971121306; Thu, 14 Dec 2023 14:47:59 +0000 (UTC) Message-ID: <4a053d6a-92c6-4d01-bfe5-2349d64cc429@redhat.com> Date: Thu, 14 Dec 2023 15:47:59 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Failed to start Raise network interfaces error To: Julia Lawall Cc: "David S. Miller" , linux-kernel@vger.kernel.org References: <21977757-3a63-4586-ae03-e6630c1f009d@redhat.com> <4c707e3e-a324-a5e6-dc21-833b6d40324d@inria.fr> <88a7a623-ad80-406c-a63b-3136df963888@redhat.com> Content-Language: en-US From: Ivan Vecera In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 14 Dec 2023 06:48:21 -0800 (PST) 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" Regards, Ivan