Revert "Merge #96844: nixos/nfsd: run rpc-statd as a normal user"

This reverts commit 42eebd7ade, reversing
changes made to b169bfc9e2.

This breaks nfs3.simple test and even current PR #97656 wouldn't fix it.
Therefore let's revert for now to unblock the channels.
This commit is contained in:
Vladimír Čunát
2020-09-10 21:31:35 +02:00
parent ee55841b22
commit 538e558f48
2 changed files with 36 additions and 35 deletions
+8 -1
View File
@@ -101,6 +101,13 @@ in
};
systemd.services.rpc-statd =
{ restartTriggers = [ nfsConfFile ]; };
{ restartTriggers = [ nfsConfFile ];
preStart =
''
mkdir -p /var/lib/nfs/{sm,sm.bak}
'';
};
};
}