However, I missed one point - we still need to be sure that systemd doesn't consider the device to be ready on ADD event because on ADD event, any DM device is still not ready - it needs to be loaded with teable and then resumed. So the rule should be:
However, I missed one point - we still need to be sure that systemd doesn't consider the device to be ready on ADD event because on ADD event, any DM device is still not ready - it needs to be loaded with teable and then resumed. So the rule should be:
UBSYSTEM=="block", ACTION=="add", ENV{DM_ UDEV_DISABLE_ OTHER_RULES_ FLAG}== "1", ENV{SYSTEMD_ READY}= "0"
(so it checks against 'ACTION=="add"')