Re: Glibc is dumb; kick the resolver.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> So yeah, glibc is dumb and for the running anaconda process it
> wont ever refresh it's view of /etc/resolv.conf even though we
> write out lots of information there when we bring up the network.
> 
> This patch is essentially borrowed from smolt so that we can kick
> the resolver before doing the ip lookup.
> 
> We don't seem to have a problem after this stage getting packages
> and what not, something else there must be doing it right, but
> without this we'll never get a hosts line written for the IP/host.

Ugh, not this problem again.

Anyway, we already have code to do this in isys.  Check out
isys.resetResolv().

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux