Can I use systemd-homed with 20.04?

I see that Ubuntu 20.04 Focal Fossa was released with Systemd 245, which supports systemd-homed. Has someone already tried using it? Preferably with LUKS? Is it setup during installation or what steps are required?


Solution 1:

As we read in the systemd documentation the homed files should be available under /usr/lib/systemd/systemd-homed. That directory is missing in the latest release of systemd for Ubuntu focal (245.4-4ubuntu3).

I assume homed was not included in the LTS release as it is a major change and LTS releases prioritize stability over features.

If you wish, you may compile your own version of systemd from source (not recommended).

If doing so I would recommend looking into these guides from a user on Arch Linux:

https://www.reddit.com/r/archlinux/comments/fgc91b/with_systemd_245_landing_in_repos_systemdhomed_is/

https://wiki.archlinux.org/index.php/Systemd-homed

Update: As of Ubuntu 21.10 systemd-homed is still not available.