diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2016-05-03 16:44:22 +0200 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2016-05-06 15:03:30 +0200 |
commit | 9f6afb7d78771f283b84d4dbdc5c5a08291a738c (patch) | |
tree | 9875793069cb9191da303f3667cf9cfb6c26a72c | |
parent | 1a5b5593d62e011679a8c1c66095a9faa38647dc (diff) | |
download | nixpkgs-9f6afb7d78771f283b84d4dbdc5c5a08291a738c.tar nixpkgs-9f6afb7d78771f283b84d4dbdc5c5a08291a738c.tar.gz nixpkgs-9f6afb7d78771f283b84d4dbdc5c5a08291a738c.tar.bz2 nixpkgs-9f6afb7d78771f283b84d4dbdc5c5a08291a738c.tar.lz nixpkgs-9f6afb7d78771f283b84d4dbdc5c5a08291a738c.tar.xz nixpkgs-9f6afb7d78771f283b84d4dbdc5c5a08291a738c.tar.zst nixpkgs-9f6afb7d78771f283b84d4dbdc5c5a08291a738c.zip |
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.
-rw-r--r-- | nixos/modules/services/network-filesystems/nfsd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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 ]; |