We enable SECURE_NFS in ipa-client-automount. Originally I used the string YES which worked fine on Fedora systems with systemd. sysV init systems look for a lower-case yes, so switch to that instead.

I double-checked on F-17 and F-18 that the systemd versions accept the lower-case option as well.


rob
>From d86600b711c222fcd10ea77ebf61870a7db9652f Mon Sep 17 00:00:00 2001
From: Rob Crittenden <rcrit...@redhat.com>
Date: Fri, 26 Oct 2012 13:31:22 -0400
Subject: [PATCH] The SECURE_NFS value needs to be lower-case yes on SysV
 systems.

The sysV rpcgssd init script tests for [ "${SECURE_NFS}" != "yes" ].

This also works as lower case for system so a simple fix.

https://fedorahosted.org/freeipa/ticket/3207
---
 ipa-client/ipa-install/ipa-client-automount | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipa-client/ipa-install/ipa-client-automount b/ipa-client/ipa-install/ipa-client-automount
index 7ea69ec12be12f1e0d50abc9ef59a979aa25c7a1..182f9f659dc3bfca198fc254f1a51047b3d9d31f 100755
--- a/ipa-client/ipa-install/ipa-client-automount
+++ b/ipa-client/ipa-install/ipa-client-automount
@@ -304,7 +304,7 @@ def configure_nfs(fstore, statestore):
     Configure secure NFS
     """
     replacevars = {
-        'SECURE_NFS': 'YES',
+        'SECURE_NFS': 'yes',
     }
     ipautil.backup_config_and_replace_variables(fstore,
         NFS_CONF, replacevars=replacevars)
-- 
1.7.11.4

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to