Merge pull request 'fix(nfs): mask rpc-svcgssd on server and ha-server build types' (#99) from worktree-docs-beszel-guide into main
Check NixOS configurations / eval-hosts (push) Failing after 9m46s

Reviewed-on: #99
This commit was merged in pull request #99.
This commit is contained in:
2026-07-29 02:54:12 +00:00
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -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;
} }
+6
View File
@@ -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;