On 9/1/21 15:44, Colin S wrote:
> ...
> 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!="add", GOTO="net_name_slot_end"
> SUBSYSTEM!="net", GOTO="net_name_slot_end"
> NAME!="", GOTO="net_name_slot_end"
>
> IMPORT{cmdline}="net.ifnames"
> ENV{net.ifnames}=="0", GOTO="net_name_slot_end"
>
> NAME=="", ENV{ID_NET_NAME_ONBOARD}!="", NAME="$env{ID_NET_NAME_ONBOARD}"
> NAME=="", ENV{ID_NET_NAME_SLOT}!="", NAME="$env{ID_NET_NAME_SLOT}"
> NAME=="", ENV{ID_NET_NAME_PATH}!="", NAME="$env{ID_NET_NAME_PATH}"
>
> LABEL="net_name_slot_end"
>
>
> Adding this rule back to /etc/udev/rules.d restores the previous behaviour.
>
> 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 change and go back to having eth0 and wlan0, which is actually entirely sufficient for most normal use.
>
> Colin
Hi Colin, AFAIK, it's still there, perhaps renamed?
/usr/lib/udev/rules.d/80-net-setup-link.rules
As Arch has recommended using your custom names, for several years already, as udev rules, I just have kept using my own:
/etc/udev/rules.d/80-net-setup-link-persistent.rules
And I didn't find a problem with Artix migration from eudev, to the systemd udev, which is what recently happened... It was really transparent to me, and I do use really custom names, hehe
--
Javier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <https://lists.artixlinux.org/archives/artix-general/attachments/20210901/fa1924a0/attachment.sig>
More information about the artix-general
mailing list