LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Systemd dependencies LXD on ZFS on LUKS (on network) (https://www.linuxquestions.org/questions/linux-server-73/systemd-dependencies-lxd-on-zfs-on-luks-on-network-4175665856/)

jesusangel 12-12-2019 11:06 AM

Systemd dependencies LXD on ZFS on LUKS (on network)
 
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,


All times are GMT -5. The time now is 03:08 PM.