nfs-utils: set /etc/krb5.keytab as default path for rpc-gssd
Currently the `rpc-gssd.service` has a `ConditionPathExists` clause that can never be met, because it's looking for stateful data inside `/nix/store`. `auth-rpcgss-module.service` also only starts if this file exists. Fixes NixOS/nixpkgs#29509.
This commit is contained in:
parent
eb2f321e11
commit
98a2316166
@ -85,8 +85,14 @@ in
|
|||||||
enable = mkDefault false;
|
enable = mkDefault false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.auth-rpcgss-module =
|
||||||
|
{
|
||||||
|
unitConfig.ConditionPathExists = [ "" "/etc/krb5.keytab" ];
|
||||||
|
};
|
||||||
|
|
||||||
systemd.services.rpc-gssd =
|
systemd.services.rpc-gssd =
|
||||||
{ restartTriggers = [ nfsConfFile ];
|
{ restartTriggers = [ nfsConfFile ];
|
||||||
|
unitConfig.ConditionPathExists = [ "" "/etc/krb5.keytab" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.rpc-statd =
|
systemd.services.rpc-statd =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user