git.iko.soy/typeable/nixpkgs
on master help sign in
nfs module: Fix dependency on statd and idmapd

http://hydra.nixos.org/build/40038016

commit58b028f9ee24dc403ee83ee744bfa1cf859960a8 authorEelco Dolstra <eelco.dolstra@logicblox.com> dateWed 7 Sep 2016, 14:06 (10 years ago) parent015c984
1 file changed+6−2
nixos/modules/tasks/filesystems/nfs.nix+6−2
nixos/modules/tasks/filesystems/nfs.nix+6−2
@@ -70,13 +70,16 @@ in
7070
7171 boot.initrd.kernelModules = mkIf inInitrd [ "nfs" ];
7272
73+ # FIXME: should use upstream units from nfs-utils.
74+
7375 systemd.services.statd =
7476 { description = "NFSv3 Network Status Monitor";
7577
7678 path = [ pkgs.nfs-utils pkgs.sysvtools pkgs.utillinux ];
7779
78− wantedBy = [ "remote-fs-pre.target" ];
80+ wants = [ "remote-fs-pre.target" ];
7981 before = [ "remote-fs-pre.target" ];
82+ wantedBy = [ "remote-fs.target" ];
8083 requires = [ "basic.target" "rpcbind.service" ];
8184 after = [ "basic.target" "rpcbind.service" ];
8285
@@ -102,8 +105,9 @@ in
102105
103106 path = [ pkgs.sysvtools pkgs.utillinux ];
104107
105− wantedBy = [ "remote-fs-pre.target" ];
108+ wants = [ "remote-fs-pre.target" ];
106109 before = [ "remote-fs-pre.target" ];
110+ wantedBy = [ "remote-fs.target" ];
107111 requires = [ "rpcbind.service" ];
108112 after = [ "rpcbind.service" ];
109113