[systemd-devel] systemd prerelease 247-rc2

Lennart Poettering lennart at poettering.net
Sat Dec 19 11:02:43 UTC 2020


On Do, 12.11.20 17:13, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:

> Some packages have been updated, while others not. For example:
>
> sg3_utils-1.45-3.fc33.x86_64 has: ACTION!="add|change", GOTO="usb_blacklist_end"
> I'm pretty sure that add|bind|change is appropriate here, at least
> for some devices. But answering what the effect of lack of "bind"
> in this rule is is a hard question. It depends on the details of
> hardware and drivers.
>
> I have a bunch of other rules with ACTION!="add|change" on my machine.
> It seems that if a bind event occurs, those devices will at least
> not have properly assigned metadata. Probably not the end of the
> world, but still something noticeable for users.

I think the scsi layer might be one of the subsystems which do not use
"bind". So it probably might not matter too much there to fix the
action guards. It would still be much prettier, more correct if they'd
use ACTION=="remove" though.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list