summaryrefslogtreecommitdiffstats
path: root/lass/3modules
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-01-24 10:23:23 +0100
committerlassulus <lassulus@lassul.us>2021-01-24 10:23:23 +0100
commit5433345ad4c042313d30709b413d12dbbda3ed99 (patch)
treee761d0e365fb8fc50a50e74c926f9bda341f6f8c /lass/3modules
parent1fb17be4d16a0dff55b7f384047c8ed2c660164a (diff)
l: move ecryptfs-hack to wrapper
Diffstat (limited to 'lass/3modules')
-rw-r--r--lass/3modules/sync-containers.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/lass/3modules/sync-containers.nix b/lass/3modules/sync-containers.nix
index ebf440c4..4dd0fd72 100644
--- a/lass/3modules/sync-containers.nix
+++ b/lass/3modules/sync-containers.nix
@@ -10,8 +10,6 @@ with import <stockholm/lib>;
plain = ''
'';
ecryptfs = ''
- # we start and exit ecryptfs-manager again to circumvent a bug where mounting the ecryptfs fails
- echo 4 | ${pkgs.ecryptfs}/bin/ecryptfs-manager
if ! mount | grep -q '${cfg.dataLocation}/${cname}/ecryptfs on /var/lib/containers/${cname}/var/state type ecryptfs'; then
if [ -e ${cfg.dataLocation}/${cname}/ecryptfs/.cfg.json ]; then
${pkgs.ecrypt}/bin/ecrypt mount ${cfg.dataLocation}/${cname}/ecryptfs /var/lib/containers/${cname}/var/state