On Mon, 2019-02-04 at 13:19 +0100, Lennart Poettering wrote: > > reading sysfs attrs is problematics from "remove" rules, as the sysfs > device is likely to have vanished by then, as rules are executed > asynchronously to the events they are run for. > > udev will import the udev db from the last event it has seen on a > device on "remove", but sysfs attrs are not stored in the udev > db. hence, consider testing against udev db props here, not sysfs > attrs. Right. Then, maybe, udev should treat & report attempts to refer to sysfs attributes in rules for "remove" events as errors in the first place? Regards, Martin _______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel