On Wed, 2009-01-21 at 07:58 -0800, Jesse Keating wrote: > This patch now uses the existing isys call to reset the resolver. > > I really have to start using -i with grep :/ I'm still not entirely happy with this, as I think there is a race condition here. NM kicks things off as soon as the ifcfg-* file is written out, which is done as part of self.write() in network.py. Just after the ifcfg file is written, we try to construct the hosts file, which relies on a working resolver. We don't actually block on the network being up before we do the lookups. I think what we really need to do here is split out the writing of the ifcfg-* file from the rest of the files, and wait until network is up before writing out the rest of the files. (actually writing out the rest isn't really necessary during early network bring up I think, that whole part can be delayed until the pre-install call where we write them to the install filesystem). David, what do you think? -- Jesse Keating Fedora -- Freedom² is a feature! identi.ca: http://identi.ca/jkeating
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list