Skip to content

Commit

Permalink
Fixing nfsd service, wait on local-fs.
Browse files Browse the repository at this point in the history
Otherwise, mountd was started exporting directories before local-fs was ready,
and it failed to start nfsd on missing fs.

(cherry picked from commit 9f6afb7)
  • Loading branch information
viric committed May 9, 2016
1 parent 74139a6 commit 165781b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/network-filesystems/nfsd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];

Expand Down

0 comments on commit 165781b

Please sign in to comment.