On Sat, Dec 07, 2013 at 12:35:26AM +0100, Zbigniew Jędrzejewski-Szmek wrote: > Before they would only be started when the unit transitioned from > inactive to active state. Now, they will be started also on other > udev events. > > https://bugzilla.redhat.com/show_bug.cgi?id=1026860: > > we have an MD device holding an LVM PV. When it is detected, and the > systemd .device unit is created, the device is not yet ready to be > used. Later, after an udev change event, the device is ready and LVM > udev rules add a SYSTEMD_WANTS=lvm2-pvscan@xxx.service tag. But since > the device was active (in systemd's mind) before, the SYSTEMD_WANTS > service was not run. Hm, sorry, this one does not work properly. The problem I described above *is* fixed, but the units in SYSTEMD_WANTS= are started too eagerly. So maybe my original solution is OK.
Zbyszek _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel