MESSAGE
DATE | 2021-09-01 |
FROM | epektasis
|
SUBJECT | Re: [Hangout - NYLXS] [artix-general] New udev creates eth0,
|
From hangout-bounces-at-nylxs.com Fri Sep 10 18:31:40 2021 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www2.mrbrklyn.com (www2.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id 1960E16401E; Fri, 10 Sep 2021 18:31:40 -0400 (EDT) X-Original-To: hangout-at-www2.mrbrklyn.com Delivered-To: hangout-at-www2.mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 1000) id E535016400C; Fri, 10 Sep 2021 18:30:48 -0400 (EDT) Resent-From: Ruben Safir Resent-Date: Fri, 10 Sep 2021 18:30:48 -0400 Resent-Message-ID: <20210910223048.GI19749-at-www2.mrbrklyn.com> Resent-To: hangout-at-mrbrklyn.com X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from mail.artixlinux.org (mail.artixlinux.org [144.91.88.22]) by mrbrklyn.com (Postfix) with ESMTP id 0A197163FBE for ; Wed, 1 Sep 2021 18:00:38 -0400 (EDT) Received: by mail.artixlinux.org (Postfix, from userid 182) id 60AFFA22523; Thu, 2 Sep 2021 00:00:36 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on endymion X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from localhost.localdomain (localhost [127.0.0.1]) by mail.artixlinux.org (Postfix) with ESMTP id 5D76DA22505; Thu, 2 Sep 2021 00:00:29 +0200 (CEST) X-Original-To: artix-general-at-localhost Delivered-To: artix-general-at-localhost Received: by mail.artixlinux.org (Postfix, from userid 182) id E525BA2250B; Thu, 2 Sep 2021 00:00:27 +0200 (CEST) Received: from air-rc-eucl-14.airstreamcomm.net (air-rc-eucl-14.airstreamcomm.net [68.65.40.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mail.artixlinux.org (Postfix) with ESMTPS id 03AAFA224F8 for ; Thu, 2 Sep 2021 00:00:18 +0200 (CEST) Received: from air-osmtp-webmail-cpdg-1.airstreamcomm.net ([64.33.128.248]) by air-rc-eucl-14.airstreamcomm.net ({d7de0d2c-8cd6-11e7-8d99-35d82bce727f}) via TCP (outbound) with ESMTP id 20210901220016387_0000; Wed, 01 Sep 2021 17:00:16 -0500 X-RC-FROM: Received: from localhost (air-ame-bb-dhcp-006-243.dsl.airstreamcomm.net [67.209.68.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by air-osmtp-webmail-cpdg-1.airstreamcomm.net (Postfix) with ESMTPS id 4H0Hzd4gxPzB0rj1; Wed, 1 Sep 2021 17:00:13 -0500 (CDT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 3cc9cc2a; Wed, 1 Sep 2021 22:01:49 +0000 (UTC) Date: Wed, 1 Sep 2021 17:01:49 -0500 From: epektasis To: Colin S Cc: artix-general-at-artixlinux.org Message-ID: Mail-Followup-To: Colin S , artix-general-at-artixlinux.org References: <2214065b-f7e1-f6dd-c77c-d0e29dd2ab30-at-e.email> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Operating-System: Linux 5.10.61-tan X-MAG-OUTBOUND: airstream.redcondor.net-at-64.33.128.240/28 DKIM-Signature: a=rsa-sha256; b=KvelLH4tJCxqud6T4oejhm56dMfQswlEF4cEvfRUU2mtCie6yE3knhcZU3j8DX0taS2tqPmO8a8Ja+Yg4GT9VXEnTvxstzbWzccU7+l9e94tAxRISFLY57ZHzGtmg+agRI9SDT6azgfEqAZGkKt1J0A5EkfeBJqArZS+919oAFb/itgaYeuU50USj4oyRRLSEAIPqtfiEzbm4Vqk66xSRqwhy0Wj1C+Clhdpd+Eu/Z9Wy3EMfEuL5pK5TGNendwUNxhuJGxy6KpFFU+ee0HcLMaQzoM0lnZcFLGBEWMaEDbzRr2lBi78fd6EPJdfPMvPph8NJRRFlVyy+0H3H/7s6Q==; s=edgewave; d=amerytel.net; v=1; bh=E8KWUtxXJyXJ77Mj4+Vu/UK3YF0PapR5XjsEshF7xbA=; h=from:to:message-id; X-BeenThere: artix-general-at-artixlinux.org X-Mailman-Version: 2.1.34 Precedence: list Subject: Re: [Hangout - NYLXS] [artix-general] New udev creates eth0, ignores conf.d/net X-BeenThere: hangout-at-nylxs.com List-Id: NYLXS Tech Talk and Politics List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rptnix-at-amerytel.net Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: hangout-bounces-at-nylxs.com Sender: "Hangout"
On Wed, Sep 01, 2021 at 10:44:15PM +0100, Colin S wrote: > I encountered exactly the same problem as Epektasis as a result of this > recent upgrade to udev. > =
> This new version no longer has the following rule as part of its default > ruleset in /usr/lib/udev/rules.d > =
> =
> $ cat 80-net-name-slot.rules > # do not edit this file, it will be overwritten on update > =
> ACTION!=3D"add", GOTO=3D"net_name_slot_end" > SUBSYSTEM!=3D"net", GOTO=3D"net_name_slot_end" > NAME!=3D"", GOTO=3D"net_name_slot_end" > =
> IMPORT{cmdline}=3D"net.ifnames" > ENV{net.ifnames}=3D=3D"0", GOTO=3D"net_name_slot_end" > =
> NAME=3D=3D"", ENV{ID_NET_NAME_ONBOARD}!=3D"", NAME=3D"$env{ID_NET_NAME_ON= BOARD}" > NAME=3D=3D"", ENV{ID_NET_NAME_SLOT}!=3D"", NAME=3D"$env{ID_NET_NAME_SLOT}" > NAME=3D=3D"", ENV{ID_NET_NAME_PATH}!=3D"", NAME=3D"$env{ID_NET_NAME_PATH}" > =
> LABEL=3D"net_name_slot_end" > =
> =
> Adding this rule back to /etc/udev/rules.d restores the previous behaviou= r. > =
> However I speculate that the Artix package maintainer may have removed it > because the persistent interface naming scheme that it implemented is a > construct devised (and imposed) by the systemd developers rather than the > default kernel behaviour. The whole point of Artix is after all to expunge > such idiosyncrasies. > =
> So I concluded that it was probably better/simpler just to accept the cha= nge > and go back to having eth0 and wlan0, which is actually entirely sufficie= nt > for most normal use. > =
> Colin > =
> =
> =
> On 01/09/2021 22:15, Javier wrote: > > On 9/1/21 14:34, epektasis wrote: > > > Greetings.=A0 Since the surprise "upgrade" to udev (now 249.4-1), the > > > ethernet > > > interface is now named eth0 and an error is displayed at boot-up: > > > interface > > > enp1s0 does not exist and net.enp1s0 failed to start.=A0 But eth0 > > > starts and > > > runs fine, even though conf.d/net specifices config_enp1s0=3D"dhcp" > > > and there > > > are no active references to eth0 in that file.=A0 I added net.ifnames= =3D1 and > > > biosdevname=3D1 to GRUB_CMDLINE_LINUX in /etc/default/grub, ran > > > grub-mkconfig > > > and rebooted, but the same error recurs.=A0 Perhaps there is some > > > other file > > > accessed instead of /etc/conf.d/net that udev uses?=A0 If anyone can > > > point me to > > > that file or its documentation, I will be grateful. > > > =A0=A0=A0=A0e. > > =
> > What I've been using for my choice of persistent NIC names is udev rules > > [1], for quite a while, which kept working fine: > > =
> > % cat /etc/udev/rules.d/80-net-setup-link-persistent.rules > > SUBSYSTEM=3D=3D"net", ACTION=3D=3D"add", ATTR{address}=3D=3D"_mac_addr>", > > NAME=3D"" > > SUBSYSTEM=3D=3D"net", ACTION=3D=3D"add", > > ATTR{address}=3D=3D"", NAME=3D"e>" > > =
> > That makes the NIC interfaces names more or less independent and > > persistent...=A0 BTW, I didn't notice any errors while booting, after t= he > > change...=A0 Perhaps the error is HW dependent, :(=A0 On dmesg one can > > notice how the NICs get renamed, if at all. > > =
> > If you're using specific NIC names for daemons, like dhcpcd or network > > manager, perhaps you should consider using persistent custom names? > > =
> > =
> -- =
> artix-general mailing list > artix-general-at-artixlinux.org > https://lists.artixlinux.org/listinfo/artix-general
Both of your responses are very informative and helpful. Thanks to you bot= h! e.
-- =
artix-general mailing list artix-general-at-artixlinux.org https://lists.artixlinux.org/listinfo/artix-general _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
|
|