On Tue, 30.06.15 17:37, Francis Moreau (francis.m...@gmail.com) wrote: > Hi, > > I have a service 'A' which creates a device 'X' and does some > configuring of the device. The device is created in a 'ExecStart=' > directive whereas its configuration happens during 'ExecStartPost='. > > But it seems that as soon as the device is seen by systemd, it creates > the corresponding device service and starts all services that depeneds > on this device.
What kind of a device is this? block device? You should mark your device with SYSTEMD_READY=0 in udev, as long as it is not ready to be exposed. Check 99-systemd.rules for a few examples where we do this for loopback or mdadm devices as long as they are not fully set up. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel