systemd-udevd and services with DefaultDependencies=no

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I've got a somehow silly question:

Am I right to think that a service unit I wrote meant to format and mount a localdisk at boot having the following properties :

Wants=local-fs.target
Before=local-fs.target

+ DefaultDepenencies=no may be racing against udevd in a way the device (/dev/nvme0) would not be there yet ?

If so, would adding After=systemd-udevd suffice ?

Thanks for your help

--
Thomas HUMMEL
HPC Group
Institut PASTEUR
Paris, FRANCE




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux