Article 4WFQW Systemd dependencies LXD on ZFS on LUKS (on network)

Systemd dependencies LXD on ZFS on LUKS (on network)

by
jesusangel
from LinuxQuestions.org on (#4WFQW)
Hello,

I've setup a non root LUKS device which I open using clevis and tang, so I need network access to do so. On the encrypted device I've setup a ZFS pool. Finally, LXD is using that ZFS pool as its storage backend.

I must guarantee that the network is up before opening the LUKS device, that the encrypted device is opened before the ZFS pool is imported and, finally the LXD daemon is started.

I've been managing systemd dependencies manually using before/after, wants/requires, but I ended in some deadlocks.

How can I check that the services will always be started in the right order?

Kind regards,latest?d=yIl2AUoC8zA latest?i=tw4tVD1uvus:19iyzvgh8ng:F7zBnMy latest?i=tw4tVD1uvus:19iyzvgh8ng:V_sGLiP latest?d=qj6IDK7rITs latest?i=tw4tVD1uvus:19iyzvgh8ng:gIN9vFwtw4tVD1uvus
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments