<div dir="ltr">It seems it get set to false every time NetNameResolver initializeNetwork is sent if the primitive NetNameResolver primHostNameSize does not fail.<div><br></div><div style>It should honor the preference, not the primitive.</div>
<div style><br></div><div style>Karl</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 18, 2012 at 6:10 PM, David T. Lewis <span dir="ltr"><<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue, Dec 18, 2012 at 01:43:38PM +0000, Frank Shearar wrote:<br>
> On 18 December 2012 01:58, David T. Lewis <<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>> wrote:<br>
> > On Mon, Dec 17, 2012 at 01:15:12PM -0500, David T. Lewis wrote:<br>
> >> On Mon, Dec 17, 2012 at 02:59:23PM +0000, Frank Shearar wrote:<br>
> >> > On 17 December 2012 14:12, David T. Lewis <<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>> wrote:<br>
> >> > ><br>
> >> > > Setting useOldNetwork to true will cause IPv6 support to be disabled. Too<br>
> >> > > many double negatives I suppose ;)<br>
> >> ><br>
> >> > That makes sense, but I'm still confused, because both my little<br>
> >> > release script and ReleaseBuilder-fbs.85 set useOldNetwork to true.<br>
> >> ><br>
> >> > But NetNameResolver class >> #initiaize has "Smalltalk<br>
> >> > addToStartUpList: self", so could actually set useOldNetwork BACK to<br>
> >> > false even though the image was saved with value true?<br>
> >><br>
> >> Yes that might be what is happening. And/or it may be that the preference<br>
> >> needs to be initialized. I am away now but will try to have a look at it<br>
> >> again later today.<br>
> ><br>
> > Frank, I really have to apologize - I gave you a bunch of wrong information.<br>
> ><br>
> > You were correct all along to do "NetNameResolver enableIPv6: false". This<br>
> > sets the current value of the pragma preference for "Enable IPv6 and new<br>
> > network support". So setting this to false in ReleaseBuilder is the right<br>
> > thing to do.<br>
> ><br>
> > Contrary to what I said earlier, setting "NetNameResolver useOldNetwork: true"<br>
> > does *not* disable IPv6 permanently. It is a temporary flag that will be<br>
> > reset at image startup time based on the setting of the enableIPv6 preference,<br>
> > and also based on whether the VM provides the new IPv6 primitives, which<br>
> > is checked at image startup time.<br>
> ><br>
> > I do not see anywhere that NetNameResolver class>>initialize would be<br>
> > sent in normal use, so I do not think that is the problem.<br>
> ><br>
> > Bottom line: If you can do "NetNameResolver enableIPv6: false" prior to<br>
> > saving the image, this *should* set the preference correctly and it *should*<br>
> > cause the image to be restarted in the correct state regardless of VM.<br>
> ><br>
> > I really apologize for the (my) confusion. Next time you publish the<br>
> > release candidate, please do the "NetNameResolver enableIPv6: false"<br>
> > exactly as you had originally intended, and let's see if it comes out<br>
> > right this time around.<br>
><br>
> Thanks for everything, Dave. I've released a new version at<br>
> <a href="http://ftp.squeak.org/4.4/Squeak4.4-RC3.tgz" target="_blank">http://ftp.squeak.org/4.4/Squeak4.4-RC3.tgz</a> so let's see how that one<br>
> works.<br>
<br>
</div></div>The preferences are set correctly now. But I took a quick look this morning<br>
and I think I saw a case where the useOldNetwork flag got set back to false,<br>
so I am afraid that there must be a bug in the initialization somewhere just<br>
as you and St?phane had suggested earlier. I can't see where the problem is<br>
happening, but something is not right. I'll try to take a better look at it<br>
later today or tomorrow.<br>
<br>
:-/<br>
<br>
Dave<br>
<br>
<br>
</blockquote></div><br></div>