lkml.org 
[lkml]   [2012]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH V3 08/14] Tools: hv: Gather DNS information
Date


> -----Original Message-----
> From: Greg KH [mailto:gregkh@linuxfoundation.org]
> Sent: Friday, August 17, 2012 12:51 PM
> To: KY Srinivasan
> Cc: linux-kernel@vger.kernel.org; devel@linuxdriverproject.org;
> virtualization@lists.osdl.org; olaf@aepfle.de; apw@canonical.com;
> ben@decadent.org.uk
> Subject: Re: [PATCH V3 08/14] Tools: hv: Gather DNS information
>
> 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?

We debated this issue on this mailing list for a long time. The consensus was that
we would invoke external "distro" specific scripts for both configuring the interface
as well as gathering information that could not be gathered in a distro independent
fashion. That is what I have implemented here. This code specifies the interface to this
external script. If these external scripts are not there, it is not fatal - on the SET side,
the interface will not be configured and on the get side some attributes that are to be
gathered via these external scripts will not be collected.

Regards,

K. Y





\
 
 \ /
  Last update: 2012-08-17 20:01    [W:0.149 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site