Author: mvidner
Date: Fri Feb 29 13:25:52 2008
New Revision: 45120
URL: http://svn.opensuse.org/viewcvs/yast?rev=45120&view=rev
Log:
Merged revisions 39324-45119 via svnmerge from
http://svn.opensuse.org/svn/yast/branches/SuSE-SLE-10-SP1-Branch/nfs-server
........
r39403 | mvidner | 2007-07-13 16:14:37 +0200 (Pá, 13 čec 2007) | 4 lines
Do not call SCR at variable initialization.
(Readded the appropriate half of r36930)
(Preparing to fix #260723)
........
r39425 | mvidner | 2007-07-16 13:06:56 +0200 (Po, 16 čec 2007) | 3 lines
Do not touch NFS4 during autoinstallation; really fixing "Unable to
write idmapd.conf" (#260723).
........
Modified:
branches/SuSE-SLE-10-SP2-Branch/nfs-server/ (props changed)
branches/SuSE-SLE-10-SP2-Branch/nfs-server/VERSION
branches/SuSE-SLE-10-SP2-Branch/nfs-server/package/yast2-nfs-server.changes
branches/SuSE-SLE-10-SP2-Branch/nfs-server/src/NfsServer.ycp
branches/SuSE-SLE-10-SP2-Branch/nfs-server/testsuite/tests/readwrite-unfsd.out
branches/SuSE-SLE-10-SP2-Branch/nfs-server/testsuite/tests/readwrite.out
branches/SuSE-SLE-10-SP2-Branch/nfs-server/testsuite/tests/readwrite2.out
branches/SuSE-SLE-10-SP2-Branch/nfs-server/testsuite/tests/routines1.out
Modified: branches/SuSE-SLE-10-SP2-Branch/nfs-server/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/nfs-server/VERSION?rev=45120&r1=45119&r2=45120&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP2-Branch/nfs-server/VERSION (original)
+++ branches/SuSE-SLE-10-SP2-Branch/nfs-server/VERSION Fri Feb 29 13:25:52 2008
@@ -1 +1 @@
-2.13.8
+2.13.9
Modified: branches/SuSE-SLE-10-SP2-Branch/nfs-server/package/yast2-nfs-server.changes
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/nfs-server/package/yast2-nfs-server.changes?rev=45120&r1=45119&r2=45120&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP2-Branch/nfs-server/package/yast2-nfs-server.changes (original)
+++ branches/SuSE-SLE-10-SP2-Branch/nfs-server/package/yast2-nfs-server.changes Fri Feb 29 13:25:52 2008
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Mon Jul 16 13:04:55 CEST 2007 - mvidner@suse.cz
+
+- Do not touch NFS4 during autoinstallation; really fixing "Unable to
+ write idmapd.conf" (#287338).
+- 2.13.9
+
+-------------------------------------------------------------------
Wed Apr 4 18:00:43 CEST 2007 - mvidner@suse.cz
- Do not pop up an error about idmapd during autoinstallation
Modified: branches/SuSE-SLE-10-SP2-Branch/nfs-server/src/NfsServer.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/nfs-server/src/NfsServer.ycp?rev=45120&r1=45119&r2=45120&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP2-Branch/nfs-server/src/NfsServer.ycp (original)
+++ branches/SuSE-SLE-10-SP2-Branch/nfs-server/src/NfsServer.ycp Fri Feb 29 13:25:52 2008
@@ -67,13 +67,13 @@
/**
* Enable nfsv4
*/
- global boolean enable_nfsv4 = (SCR::Read(.sysconfig.nfs.NFS4_SUPPORT)=="yes");
+ global boolean enable_nfsv4 = true;
/**
* GSS Security ?
*/
- global boolean nfs_security = (SCR::Read(.sysconfig.nfs.NFS_SECURITY_GSS)=="yes");
+ global boolean nfs_security = false;
/**
@@ -137,7 +137,11 @@
``{
start = settings["start_nfsserver"]:false;
exports = settings["nfs_exports"]:[];
- return;
+ // #260723, #287338: fix wrongly initialized variables
+ // but do not extend the schema yet
+ enable_nfsv4 = false;
+ domain = "";
+ nfs_security = false;
}
@@ -154,13 +158,21 @@
}
/**
- * Reads NFS settings from the SCR (.etc.exports)
+ * Reads NFS settings from the SCR (.etc.exports),
+ * from SCR (.sysnconfig.nfs) and SCR (.etc.idmapd_conf),if necessary.
* @return true on success
*/
global define boolean Read () ``{
start = Service::Enabled("nfsserver");
exports = (list