Author: eelco
Date: Fri Mar 16 13:00:27 2012
New Revision: 33153
URL: https://nixos.org/websvn/nix/?rev=33153&sc=1
Log:
* Start fixing the NFS mess. It was completely broken because the
exportfs job didn't work at all (so /var/lib/nfs/etab didn't get
initialised).
Modified:
nixos/trunk/modules/services/network-filesystems/nfs-kernel.nix
Modified: nixos/trunk/modules/services/network-filesystems/nfs-kernel.nix
==============================================================================
--- nixos/trunk/modules/services/network-filesystems/nfs-kernel.nix Fri Mar
16 12:24:29 2012 (r33152)
+++ nixos/trunk/modules/services/network-filesystems/nfs-kernel.nix Fri Mar
16 13:00:27 2012 (r33153)
@@ -125,7 +125,7 @@
''
# exports file is ${exports}
# keep this comment so that this job is restarted whenever
exports changes!
- exportfs -ra
+ ${pkgs.nfsUtils}/sbin/exportfs -ra
'';
};
}
@@ -193,7 +193,7 @@
description = "Kernel NFS server - Network Status Monitor";
- startOn = if (cfg.server.enable) then
+ startOn = if cfg.server.enable then
"started nfs-kernel-mountd and started nfs-kernel-nfsd"
else
"started portmap";
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits