* The idmapd job requires the sunrpc kernel module to be loaded.
(http://hydra.nixos.org/build/2315397) svn path=/nixos/trunk/; revision=33358
This commit is contained in:
parent
a525074f43
commit
4ae7819c39
@ -39,6 +39,8 @@ in
|
|||||||
|
|
||||||
system.fsPackages = [ pkgs.nfsUtils ];
|
system.fsPackages = [ pkgs.nfsUtils ];
|
||||||
|
|
||||||
|
boot.kernelModules = [ "sunrpc" ];
|
||||||
|
|
||||||
boot.initrd.kernelModules = mkIf inInitrd [ "nfs" ];
|
boot.initrd.kernelModules = mkIf inInitrd [ "nfs" ];
|
||||||
|
|
||||||
boot.initrd.extraUtilsCommands = mkIf inInitrd
|
boot.initrd.extraUtilsCommands = mkIf inInitrd
|
||||||
@ -77,11 +79,11 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
jobs.idmapd =
|
jobs.idmapd =
|
||||||
{ description = "Kernel NFS server - ID Map Daemon";
|
{ description = "NFS ID mapping daemon";
|
||||||
|
|
||||||
path = [ pkgs.nfsUtils pkgs.sysvtools pkgs.utillinux ];
|
path = [ pkgs.nfsUtils pkgs.sysvtools pkgs.utillinux ];
|
||||||
|
|
||||||
stopOn = "starting shutdown";
|
startOn = "started udev";
|
||||||
|
|
||||||
preStart =
|
preStart =
|
||||||
''
|
''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user