John Levon wrote: > On Tue, Sep 29, 2009 at 11:10:36AM +0200, Jan Damborsky wrote: > >> Hi John, >> >> as you pointed out, DNS is not available until /usr is mounted - >> looking at SMF dependencies, I think it is expected: > > This is a regression after talking with equach, I filed: > > http://defect.opensolaris.org/bz/show_bug.cgi?id=11606 > microroot DHCP has regressed
If it used to work, then I think somebody from networking team might clarify what changed, since as far as network configuration is concerned, AI currently consumes what network layer sets up - DNS is configured by svc:/network/service:default. And looking at latest code responsible for setting up DNS, there doesn't seem to be anything XEN special there - I have searched for 'dhcpinfo' or 'xpv-hcp': http://src.opensolaris.org/source/search?q=dhcpinfo&defs=&refs=&path=&hist=&project=%2Fonnv http://src.opensolaris.org/source/search?q=xpv-hcp&defs=&refs=&path=&hist=&project=%2Fonnv > >> AI currently uses DNS only for resolving hostname of IPS repository, >> everything else is provided in form of IP addresses - installadm(1M) >> takes care of the configuration. > > That's not true in domU context, see: > > http://opensolaris.org/os/community/xen/devdocs/install-depedencies/ To be honest, I was not aware of this - I have thought that the only thing why AI needs working DNS is when hostname of IPS repository is to be resolved. Is there any particular reason why would we need functional DNS in AI microroot (modulo being able to specify hostname instead of IP address in 'install_media' option) ? Thank you, Jan