[wpkg-users] Host match disruptive changes in 1.2?
Rainer Meier
r.meier at wpkg.org
Tue Jul 19 18:34:02 CEST 2011
Hi Marco,
On 19.07.2011 18:24, Marco Gaiarin wrote:
> 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.
Many thanks for the log. It seems to clearly read the files from the hosts/
folder first while WPKG 1.2 reads hosts.xml first. I will investigate why this
happens. And yes, I plan to revert to previous behavior if technically feasible.
Maybe I will not have time today; meanwhile you can still use 1.1.2 or use the
work-around.
Sorry for any inconvenience,
Rainer
More information about the wpkg-users
mailing list