[Fedora-directory-commits] adminserver Makefile.am, 1.30, 1.31 aclocal.m4, 1.28, 1.29 configure, 1.31, 1.32 missing, 1.19, 1.20 install-sh, 1.19, 1.20 depcomp, 1.19, 1.20 config.sub, 1.19, 1.20 config.guess, 1.19, 1.20 compile, 1.18, 1.19 Makefile.in, 1.34, 1.35

Richard Allen Megginson (rmeggins) fedora-directory-commits at redhat.com
Wed Aug 15 22:08:16 UTC 2007


Author: rmeggins

Update of /cvs/dirsec/adminserver
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6416/adminserver

Modified Files:
	Makefile.am aclocal.m4 configure missing install-sh depcomp 
	config.sub config.guess compile Makefile.in 
Log Message:
Resolves: bug 252190
Bug Description: 7.1 to 8.0 Migration Bug
Reviewed by: nhosoi (Thanks!)
Fix Description: Lots of issues
1) Instead of using Net::Domain::hostname() for the hostname to use for server identifiers, we must use the leftmost component of the FullMachineName specified by the user.  One of the reasons is that hostname() and hostfqdn() can give different results such that hostname() is not the leftmost component of hostfqdn().  And we should just use whatever the user specifies.  This required several changes to the mapfiles, and a change to the maptable processing, to process the perl code to eval last, so that we can use token substitutions from the inf file and from hard coded strings.
2) We need to add the global preferences stuff, during migration, in order for the console to function. We cannot rely on the migrated o=NetscapeRoot data because we have to make sure we specify the new jar files to use.  In addition, we need to migrate over any customizations that the user has made to these preferences.   This is handled by the new updateConsoleInfo function called during admin server migration.
3) There were several resources for messages missing.  These have been added.
4) With the new perl only ds instance creation code, there will actually be data in the database even though the server is not started.  This is what I believe was causing the error_removing_temp_db_files error.  So now, the code will only attempt to remove plain files, not directories that could be globbed.
5) Use /opt/brand-ds for the old server root instead of /opt/pkgname.
6) The migration log should use [Migration} not [Setup]
7) migration should not report a fatal error upon success
Platforms tested: RHEL4
Flag Day: no
Doc impact: no
QA impact: should be covered by regular nightly and manual testing
New Tests integrated into TET: none



Index: Makefile.am
===================================================================
RCS file: /cvs/dirsec/adminserver/Makefile.am,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- Makefile.am	6 Aug 2007 19:54:25 -0000	1.30
+++ Makefile.am	15 Aug 2007 22:08:13 -0000	1.31
@@ -163,7 +163,8 @@
 	admserv/newinst/src/configdsroot.map \
 	admserv/newinst/src/adminserver.map \
 	admserv/newinst/src/dirserver.map \
-	admserv/newinst/src/asmigrate.map
+	admserv/newinst/src/asmigrate.map \
+	admserv/newinst/src/updateconsoleinfo.map
 
 cgibin_PROGRAMS = admpw security ugdsconfig ReadLog start_config_ds \
 	config statpingserv viewdata dsconfig monreplication restartsrv \


















Index: Makefile.in
===================================================================
RCS file: /cvs/dirsec/adminserver/Makefile.in,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- Makefile.in	13 Aug 2007 15:40:48 -0000	1.34
+++ Makefile.in	15 Aug 2007 22:08:13 -0000	1.35
@@ -605,7 +605,8 @@
 	admserv/newinst/src/configdsroot.map \
 	admserv/newinst/src/adminserver.map \
 	admserv/newinst/src/dirserver.map \
-	admserv/newinst/src/asmigrate.map
+	admserv/newinst/src/asmigrate.map \
+	admserv/newinst/src/updateconsoleinfo.map
 
 cgibin_SCRIPTS = admserv/cgi-src40/ds_create \
 	admserv/cgi-src40/ds_remove \




More information about the Fedora-directory-commits mailing list