Re: [PATCH V3 08/14] Tools: hv: Gather DNS information

From: Ben Hutchings
Date: Fri Aug 17 2012 - 13:51:50 EST


On Fri, Aug 17, 2012 at 10:38:37AM -0700, Greg KH wrote:
> On Fri, Aug 17, 2012 at 06:32:09PM +0100, Ben Hutchings wrote:
> > On Fri, Aug 17, 2012 at 09:51:09AM -0700, Greg KH wrote:
> > > On Thu, Aug 16, 2012 at 06:32:19PM -0700, K. Y. Srinivasan wrote:
> > > > Now, gather DNS information. Invoke an external script (that can be
> > > > distro dependent) to gather the DNS information.
> > >
> > > Where is that script? Why a script, this really isn't in a standard
> > > method for all Linux distros? If not, why not work to do that like the
> > > freedesktop.org people have done for other system configuration items?
> >
> > I suggested using the Network Manager D-Bus API. That obviously
> > isn't going to work everywhere, but it seems to cover the same simple
> > cases that this hypervisor-guest interface allows for.
>
> That's a great start, as I think all of the distros have now pretty much
> standardized on this format, right?

I expect it to be available on most current distributions, but not
necessarily enabled by default. Debian only installs NM if you choose
the 'desktop' task at install time, so text-mode virtal servers
wouldn't have it. KY may also be concerned about older distributions
that never had NM.

Ben.

--
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
- Albert Camus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/