Archived
Merge branch 'main' of https://gitea.lan.ddnsgeek.com/beatzaplenty/nixos
Check NixOS configurations / eval-hosts (push) Successful in 10m30s
Check NixOS configurations / eval-hosts (push) Successful in 10m30s
This commit is contained in:
@@ -45,4 +45,7 @@ in
|
|||||||
# Pacemaker controls nfs-server — prevent systemd from starting it at boot
|
# Pacemaker controls nfs-server — prevent systemd from starting it at boot
|
||||||
# on both nodes (only the Active node should be serving NFS).
|
# on both nodes (only the Active node should be serving NFS).
|
||||||
systemd.services.nfs-server.wantedBy = lib.mkForce [ ];
|
systemd.services.nfs-server.wantedBy = lib.mkForce [ ];
|
||||||
|
|
||||||
|
# Same reason as server.nix: exports use standard auth, not Kerberos.
|
||||||
|
systemd.services.rpc-svcgssd.enable = false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -102,6 +102,12 @@ in
|
|||||||
requires = [ "zfs-mount.service" ];
|
requires = [ "zfs-mount.service" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# rpc-svcgssd handles Kerberos/GSS-API for NFS. Not needed: exports use
|
||||||
|
# standard auth, not sec=krb5. On IPA-joined hosts the keytab exists (host/
|
||||||
|
# principal only) but has no nfs/ principal, causing spurious failure.
|
||||||
|
# Mask it so nfs-server's Wants= can't pull it in.
|
||||||
|
systemd.services.rpc-svcgssd.enable = false;
|
||||||
|
|
||||||
services.nfs.server = {
|
services.nfs.server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
exports = mkNfsExports vars.storageRoot;
|
exports = mkNfsExports vars.storageRoot;
|
||||||
|
|||||||
Reference in New Issue
Block a user