You are not logged in.

#1 2019-09-11 10:40:07

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 753

Hardware ID error in udev rules by systemd 243?

Since the upgrade to systemd 243 some of the udev rules based on hardware ID of the different devices in my system stopped working. For example, I have this rule:

SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:e0:4c:a2:02:4e", NAME="eth0"

to set the interface name of the ethernet adapter, and this one:

ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="046a", ATTR{idProduct}=="b090", GOTO="power_usb_rules_end"
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{power/control}="auto"
LABEL="power_usb_rules_end"

to enable the USB powersave feature on all the devices but my external keyboard. With systemd 243 after boot the ethernet interface name is not set and all the USB devices have the powersave enabled (the latter is what makes me think that the rule file is actually parsed and that the line with the special behavior for the keyboard is not executed correctly, probably because the keyboard ID is not matched even if it is correct). With systemd 242.84 everything works as expected. I tested this behavior with the official LTS kernel and the unofficial CK kernel.
Does anybody else experience the same behavior?

Offline

#2 2019-09-11 10:57:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 7,317

Re: Hardware ID error in udev rules by systemd 243?

Offline

#3 2019-09-11 12:11:13

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 753

Re: Hardware ID error in udev rules by systemd 243?

@V1del thanks for the link, I'll stick with 242.84 until a fixed version lands in the repos.

Offline

Board footer

Powered by FluxBB