Re: Unable to get service to wait for a mount before starting

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

 



10.11.2024 15:20, Adam Nielsen wrote:

I'm not sure what you mean by not having a proper network-online.target
implementation.  I'm using the one distributed with systemd.  There
aren't any other versions or overrides for it in use.  The unit in
question specifies "After=network-online.target".


network-online.target by itself does absolutely nothing. You are expected to have some service that is ordered Before=network-online.target and actually waits until network is online. Standard network management applications that asynchronously configure interfaces (NetworkManager, systemd-networkd) have matching services. Some implementations (like SUSE wicked) are synchronous and network-online.target is effectively noop. Nothing stops you from creating your own service that performs custom checks.



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

  Powered by Linux