[artix-general] New udev creates eth0, ignores conf.d/net

Colin S cs-artix at c20.ksac.uk
Thu Sep 2 09:33:15 CEST 2021


On 02/09/2021 01:14, Javier wrote:
> 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
[cropped]

>>
>> Adding this rule back to /etc/udev/rules.d restores the previous 
>> behaviour.

> 
> 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

Hi Javier,

It is only *default* ruleset and behaviour which was changed by this 
upgrade. As you say, implementing your own custom naming scheme is, of 
course, a perfectly reasonable option and a personal choice.

For the record though, both the names and the contents of the *default* 
rules were changed with the result that systemd-style persistent names 
no longer get generated and the kernel command line parameter 
net.ifnames is ignored.

Previously:-

# ls /.snapshots/2857/snapshot/usr/lib/udev/rules.d/80*

/.snapshots/2857/snapshot/usr/lib/udev/rules.d/80-drivers.rules
/.snapshots/2857/snapshot/usr/lib/udev/rules.d/80-libinput-device-groups.rules
/.snapshots/2857/snapshot/usr/lib/udev/rules.d/80-net-name-slot.rules
/.snapshots/2857/snapshot/usr/lib/udev/rules.d/80-udisks2.rules

After upgrading:-

# ls /usr/lib/udev/rules.d/80*

/usr/lib/udev/rules.d/80-drivers.rules
/usr/lib/udev/rules.d/80-libinput-device-groups.rules
/usr/lib/udev/rules.d/80-net-setup-link.rules
/usr/lib/udev/rules.d/80-udisks2.rules

-- 
Colin


More information about the artix-general mailing list