[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63508] [PATCH 3/3] gnu: eudev: Always use MAC-based names for netwo
From: |
Felix Lechner |
Subject: |
[bug#63508] [PATCH 3/3] gnu: eudev: Always use MAC-based names for network interfaces. |
Date: |
Sun, 14 May 2023 21:56:16 -0700 |
Hi Liliana,
Thank you for your review!
On Sun, May 14, 2023 at 9:31 PM Liliana Marie Prikler
<liliana.prikler@gmail.com> wrote:
>
> Wherefore the regexp-quote?
Whoops! That was left over from the attempt to get udevadm to use
/etc/udev/rules.d as it should. Thanks for the pointer!
> I don't see how this change allows users *or upstream package
> maintainers* to continue using onboard names as they have done for ages
> and as they would want to continue to do.
I have one of those cards. While the interface name did not change
when I fiddled with the PCI configuration, I am not sure that
prioritizing ID_NET_NAME_ONBOARD over ID_NET_NAME_MAC is a reasonable
default for Guix.
To rank ID_NET_NAME_ONBOARD below ID_NET_NAME_MAC would not address
the shortcoming you perceived because the latter always exists.
Instead, I think people wishing to use ID_NET_NAME_ONBOARD should
install a custom udev script (and those should be recognized by the
udevadm we ship).
> a) File a patch upstream to add ID_NET_NAME_MAC into net-name-
> slot.rules
If upstream accepts such a patch, I believe they would give
ID_NET_NAME_MAC the lowest possible priority, but that does nothing
for Guix. Common relative priorities are outlined here. [1]
For Guix, I think we would like to see ID_NET_NAME_MAC at the top.
Kind regards
Felix
[1]
https://wiki.debian.org/NetworkInterfaceNames#How_to_migrate_to_this_scheme_on_upgraded_systems
- [bug#63508] [PATCH 0/3] Use MAC-based names for network interfaces, Felix Lechner, 2023/05/14
- [bug#63508] [PATCH 1/3] gnu: eudev: Convert native-inputs to new style., Felix Lechner, 2023/05/14
- [bug#63508] [PATCH 2/3] gnu: eudev: Convert build arguments to gexps., Felix Lechner, 2023/05/14
- [bug#63508] [PATCH 3/3] gnu: eudev: Always use MAC-based names for network interfaces., Felix Lechner, 2023/05/14
- [bug#63508] [PATCH] gnu: udev: Allow EUDEV_RULES_DIRECTORY to shadow built-in rules., Liliana Marie Prikler, 2023/05/15
- [bug#63508] [PATCH v2 1/4] gnu: eudev: Convert native-inputs to new style., Felix Lechner, 2023/05/17
[bug#63508] [PATCH v3 1/3] gnu: eudev: Convert native-inputs to new style, and build arguments to Gexps., Felix Lechner, 2023/05/28