On Thu, Oct 6, 2011 at 11:29, Albert Strasheim <full...@gmail.com> wrote: > On Wed, Oct 5, 2011 at 4:10 PM, Albert Strasheim <full...@gmail.com> wrote: >> Hello all >> I have the following udev rule in a machine with a bunch of disks: >> SUBSYSTEM=="block", KERNEL=="sd*", TAG+="systemd", ACTION=="add", >> RUN+="/bin/systemctl restart blockinit@%k.service" > > To answer myself: systemctl has a --no-block option that seems like > the right thing to do here.
It doesn't sound right, to call systemd from udev context. You might want to try if: SYSTEMD_WANTS= (man systemd.device) works for you. Kay _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel