[wpkg-users] Host match disruptive changes in 1.2?

Marco Gaiarin gaio at sv.lnf.it
Tue Jul 19 18:24:38 CEST 2011


Mandi! heiko.helmle at horiba.com
  In chel di` si favelave...

> subdirectory. In one RC, WPKG started to load hosts.xml first and the
> definitions in the hosts/ subdirectory after that.

Could be an explanation. I've reverted immediately to 1.1.2, and the
loga are now:

 2011-07-19 13:01:51, DEBUG   : Initialized temporary local log file: C:\WINDOWS\TEMP\wpkg-logInit.log
 2011-07-19 13:01:51, DEBUG   : Initializing new log file: C:\WINDOWS\TEMP\wpkg-voldemort.log
 2011-07-19 13:01:51, DEBUG   : Reboot-Cmd is standard.
 2011-07-19 13:01:51, DEBUG   : WPKG 1.1.2 starting...
 2011-07-19 13:01:51, DEBUG   : Base directory is '\\FILE\wpkg'.
 2011-07-19 13:01:51, DEBUG   : Log level is 255
 2011-07-19 13:01:51, DEBUG   : Trying to read XML file: \\FILE\wpkg\profiles.xml
 2011-07-19 13:01:51, DEBUG   : Successfully loaded XML file: \\FILE\wpkg\profiles.xml
 2011-07-19 13:01:51, DEBUG   : Trying to read XML files from directory: \\FILE\wpkg\profiles
 [...]
 2011-07-19 13:01:51, DEBUG   : Reading XML file: //FILE/wpkg/profiles/ced.xml
 [...]
 2011-07-19 13:01:51, DEBUG   : Trying to read XML file: \\FILE\wpkg\hosts.xml
 2011-07-19 13:01:51, DEBUG   : Successfully loaded XML file: \\FILE\wpkg\hosts.xml
 2011-07-19 13:01:51, DEBUG   : Trying to read XML files from directory: \\FILE\wpkg\hosts
 [...]
 2011-07-19 13:01:51, DEBUG   : Reading XML file: //FILE/wpkg/hosts/ced.xml
 [...]
 2011-07-19 13:01:52, DEBUG   : Trying to read XML file: \\FILE\wpkg\packages.xml
 2011-07-19 13:01:52, DEBUG   : Successfully loaded XML file: \\FILE\wpkg\packages.xml
 2011-07-19 13:01:52, DEBUG   : Trying to read XML files from directory: \\FILE\wpkg\packages
 2011-07-19 13:01:52, DEBUG   : Reading XML file: //FILE/wpkg/packages/kb979682.xml
 2011-07-19 13:01:52, DEBUG   : Reading XML file: //FILE/wpkg/packages/qmc.xml
 2011-07-19 13:01:52, DEBUG   : Reading XML file: //FILE/wpkg/packages/7zip.xml
 2011-07-19 13:01:52, DEBUG   : Reading XML file: //FILE/wpkg/packages/quicktime.xml
 2011-07-19 13:01:52, DEBUG   : Reading XML file: //FILE/wpkg/packages/reader.xml
 [...]
 2011-07-19 13:02:06, DEBUG   : Profiles applying to the current host:|ced|
 2011-07-19 13:02:06, DEBUG   : Reading settings file: C:\WINDOWS\system32\wpkg.xml
 2011-07-19 13:02:06, DEBUG   : Trying to read XML file: C:\WINDOWS\system32\wpkg.xml
 2011-07-19 13:02:06, DEBUG   : Successfully loaded XML file: C:\WINDOWS\system32\wpkg.xml
 2011-07-19 13:02:06, DEBUG   : Saving current environment
 2011-07-19 13:02:06, DEBUG   : Getting profiles which apply to this node.
 2011-07-19 13:02:06, DEBUG   : Applying profile: ced
 2011-07-19 13:02:06, DEBUG   : Adding profile dependencies of profile 'ced': 'default'
 2011-07-19 13:02:06, DEBUG   : Adding profile dependencies of profile 'default': 'base'
 [...]

Looking at the LOG seems that both 1.2.0 and 1.1.2 load first hosts.xml and then
hosts/*.xml, but seems also to me that 1.1.2 process hosts.xml last, and 1.2.0 first.


The hosts/zzzz_last.xml solution indeed works and can be used, but i wait some feedback
before implementing it.

Thanks.

-- 
dott. Marco Gaiarin				    GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it	  tel +39-0434-842711  fax +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the wpkg-users mailing list