]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/home/homework.c
homed: tweak logic for picking a default storage and file system
authorLennart Poettering <lennart@poettering.net>
Fri, 1 May 2020 17:42:56 +0000 (19:42 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 7 May 2020 21:33:01 +0000 (23:33 +0200)
commit1dfe5de09555d75b75b70df7eb4eae6461dbd3d1
tree1dea75a957c8cba089640ec66c2f19abf6b8557e
parent0d5e5234610e316b61640d4bbe88aafeb3436228
homed: tweak logic for picking a default storage and file system

Let's make the logic a bit smarter: if we detect that /home is
encrypted, let's avoid double encryption and prefer plain
directory/subvolumes instead of our regular luks images.

Also, allow configuration go storage/file system via an env var passed
to homework. In a later commit, let's then change homed to initialize
that env var from a config file setting, when invoking homework.
src/home/homework.c