From 9f6afb7d78771f283b84d4dbdc5c5a08291a738c Mon Sep 17 00:00:00 2001 From: LluĂ­s Batlle i Rossell Date: Tue, 3 May 2016 16:44:22 +0200 Subject: Fixing nfsd service, wait on local-fs. Otherwise, mountd was started exporting directories before local-fs was ready, and it failed to start nfsd on missing fs. --- nixos/modules/services/network-filesystems/nfsd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/network-filesystems/nfsd.nix b/nixos/modules/services/network-filesystems/nfsd.nix index f1838224098..ddc7258ce0b 100644 --- a/nixos/modules/services/network-filesystems/nfsd.nix +++ b/nixos/modules/services/network-filesystems/nfsd.nix @@ -126,7 +126,7 @@ in { description = "NFSv3 Mount Daemon"; requires = [ "rpcbind.service" ]; - after = [ "rpcbind.service" ]; + after = [ "rpcbind.service" "local-fs.target" ]; path = [ pkgs.nfs-utils pkgs.sysvtools pkgs.utillinux ]; -- cgit 1.4.1