<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.sysutils.netcf.devel">
    <title>gmane.comp.sysutils.netcf.devel</title>
    <link>http://blog.gmane.org/gmane.comp.sysutils.netcf.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/726"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/723"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/716"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/698"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/695"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/692"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/686"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/685"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/673"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/667"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/660"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/657"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/652"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/651"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/650"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/645"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/644"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/638"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/636"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/619"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/726">
    <title>[PATCH] Add bundled(gnulib) to RPM specfile</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/726</link>
    <description>&lt;pre&gt;According to Fedora guidelines, because we bundle gnulib we
need to add a virtual Provides: bundled(gnulib).

https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries#Requirement_if_you_bundle
---
 netcf.spec.in |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/netcf.spec.in b/netcf.spec.in
index cec69c1..234561b 100644
--- a/netcf.spec.in
+++ b/netcf.spec.in
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -14,6 +14,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; BuildRequires:  libxml2-devel libxslt-devel
 BuildRequires:  libnl-devel
 Requires:       %{name}-libs = %{version}-%{release}
 
+Provides: bundled(gnulib)
+
 %description
 Netcf is a library used to modify the network configuration of a
 system. Network configurations are expressed in a platform-independent
&lt;/pre&gt;</description>
    <dc:creator>Laine Stump</dc:creator>
    <dc:date>2012-05-15T15:26:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/723">
    <title>Preparing for freebsd support pull request</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/723</link>
    <description>&lt;pre&gt;So, Hiren and I are approaching our first milestone, where we think that
we're feature complete for freebsd.  We're working out a few details at
the moment, but its starting to look good.

In order for you guys to pull from us, what's the standard process for
us to follow such that you can review, accept(and/or reject) and pull
from our tree.

I assume there's some kind of "generate review-able patches" guidelines
we should follow to make your lives easy.

Sean


_______________________________________________
netcf-devel mailing list
netcf-devel&amp;lt; at &amp;gt;lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/netcf-devel
&lt;/pre&gt;</description>
    <dc:creator>Sean Bruno</dc:creator>
    <dc:date>2012-05-11T00:07:25</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/716">
    <title>netcf patches for debian (v2)</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/716</link>
    <description>&lt;pre&gt;Hi,

Thanks Eric and Laine for your earlier comments. Here is a small
set of 3 cleaner patches which are enough to make netcf build on
debian.   (patches on top of git head).  I will try my hand at
the autoconf magic needed for libnl support next.

thanks,
-serge

_______________________________________________
netcf-devel mailing list
netcf-devel&amp;lt; at &amp;gt;lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/netcf-devel
&lt;/pre&gt;</description>
    <dc:creator>serge-A9i7LUbDfNHQT0dZR+AlfA&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-04-28T01:24:08</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/698">
    <title>[PATCH 0/9] Ubuntu netcf patches</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/698</link>
    <description>&lt;pre&gt;Hi guys,

following is the set of patches applied in the Ubuntu package.  I was
sure I had sent these before, but they're not in the archive.  I was
wondering why there had never been any discussion!  Sorry about that.

thanks,
-serge
_______________________________________________
netcf-devel mailing list
netcf-devel&amp;lt; at &amp;gt;lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/netcf-devel
&lt;/pre&gt;</description>
    <dc:creator>Serge Hallyn</dc:creator>
    <dc:date>2012-03-20T14:07:41</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/695">
    <title>Ubuntu patches for netcf</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/695</link>
    <description>&lt;pre&gt;
Serge,

After getting some netcf-related libvirt bug reports identified as
coming from an ubuntu system, I realized that you must now have a
released netcf build for ubuntu, but it's based on an upstream netcf git
checkout rather than a release. Any chance you could post the patches
you made so that I can push them and make a new upstream release (I'll
probably bump it from 0.1.9 to 0.2.0 to celebrate a released working
port on a new platform :-)

Thanks!

Laine
_______________________________________________
netcf-devel mailing list
netcf-devel&amp;lt; at &amp;gt;lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/netcf-devel
&lt;/pre&gt;</description>
    <dc:creator>Laine Stump</dc:creator>
    <dc:date>2012-03-19T18:27:16</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/692">
    <title>change-* commands</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/692</link>
    <description>&lt;pre&gt;    change-begin - mark the beginning of a set of revertible network config
changes
    change-commit - commit the pending network config changes
    change-rollback - rollback (revert) a set of network config changes

Hi folks,

Can someone please take some time out to explain how these commands are
supposed to work?
what is the input and output of these commands?
it seems we take snapshots of current configurations? can someone shed some
light, please?

Thanks in advance,
Hiren
_______________________________________________
netcf-devel mailing list
netcf-devel&amp;lt; at &amp;gt;lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/netcf-devel
&lt;/pre&gt;</description>
    <dc:creator>hiren panchasara</dc:creator>
    <dc:date>2012-03-15T07:24:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/686">
    <title>How to determine "start mode"?</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/686</link>
    <description>&lt;pre&gt;&amp;lt;start mode="none"/&amp;gt; or &amp;lt;start mode="onboot"/&amp;gt;


How is it decided?

Thanks,
Hiren
_______________________________________________
netcf-devel mailing list
netcf-devel&amp;lt; at &amp;gt;lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/netcf-devel
&lt;/pre&gt;</description>
    <dc:creator>hiren panchasara</dc:creator>
    <dc:date>2012-03-12T00:16:49</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/685">
    <title>oh hey ... just a note from over here in freebsd.orgland</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/685</link>
    <description>&lt;pre&gt;Just a note of introduction as Hiren has been nice enough to keep the
questions to you guys coming when we are on the bus in the morning to
the offices.

He and I are thwacking on netcf at the moment in order to move on to
libvirt and then on to virtualization support on FreeBSD.  So, you fine
folks are the first stop on this little journey that ends up with
libvirt support for BHyVe ... at some point.

Cheers.

Sean
_______________________________________________
netcf-devel mailing list
netcf-devel&amp;lt; at &amp;gt;lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/netcf-devel
&lt;/pre&gt;</description>
    <dc:creator>Sean Bruno</dc:creator>
    <dc:date>2012-03-07T17:53:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/673">
    <title>define and undefine</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/673</link>
    <description>&lt;pre&gt;"define" takes an xmlfile as an argument, is that same as output of dumpxml?

And undefine would delete the interface from the configuration altogether.

Is my understanding correct?

Thanks a lot,
Hiren
_______________________________________________
netcf-devel mailing list
netcf-devel&amp;lt; at &amp;gt;lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/netcf-devel
&lt;/pre&gt;</description>
    <dc:creator>hiren panchasara</dc:creator>
    <dc:date>2012-03-06T07:31:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/667">
    <title>dumpxml output format of resulting xml file</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/667</link>
    <description>&lt;pre&gt;Hi All,

I am looking inside /test/interface/ at ethernet-dhcp.xml and
ethernet-static.xml:

[1]ethernet-dhcp.xml

&amp;lt;interface type="ethernet" name="eth0"&amp;gt;
  &amp;lt;start mode="none"/&amp;gt;
  &amp;lt;mac address="aa:bb:cc:dd:ee:ff"/&amp;gt;
  &amp;lt;mtu size="1492"/&amp;gt;
  &amp;lt;protocol family="ipv4"&amp;gt;
    &amp;lt;dhcp/&amp;gt;&amp;lt;!-- peerdns="no"/&amp;gt;--&amp;gt;
  &amp;lt;/protocol&amp;gt;
&amp;lt;/interface&amp;gt;

[2]ethernet-static.xml

&amp;lt;interface type="ethernet" name="eth1"&amp;gt;
  &amp;lt;start mode="onboot"/&amp;gt;
  &amp;lt;protocol family="ipv4"&amp;gt;
    &amp;lt;ip address="192.168.0.5" prefix="24"/&amp;gt;
    &amp;lt;route gateway="192.168.0.1"/&amp;gt;
  &amp;lt;/protocol&amp;gt;
&amp;lt;/interface&amp;gt;


What I understand is, when "dumpxml em0" is called, if em0 is an ethernet
interface whose address has been provided by dhcp, the o/p *must* look like
[1] and if address is statically allocated, o/p *must* look like [2].
Please correct me if that is not accurate.

I want to understand rationale behind this format. How are these decided.
For example,  why "mac address" and "mtu size" do not matter in [2]?

Thanks for all the work and help,
Hiren
__________________________&lt;/pre&gt;</description>
    <dc:creator>hiren panchasara</dc:creator>
    <dc:date>2012-02-28T00:50:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/660">
    <title>Adding netcf support to FreeBSD</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/660</link>
    <description>&lt;pre&gt;Hi Folks,

I am trying to make netcf work with FreeBSD.
I am looking for more documentation on xml part of it. (I think augeas is
used for xml/xslt?)

I can "list" the interfaces but "dumpxml" does not work as I need to
prepare xml/xsl scaffolding.

Any pointers would be appreciated.

Thanks,
Hiren
_______________________________________________
netcf-devel mailing list
netcf-devel&amp;lt; at &amp;gt;lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/netcf-devel
&lt;/pre&gt;</description>
    <dc:creator>hiren panchasara</dc:creator>
    <dc:date>2012-02-06T18:47:09</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/657">
    <title>ncftool manpage</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/657</link>
    <description>&lt;pre&gt;I added nothing of value here, just turned the 'ncftool help' output
into a ncftool.1 manpage.

thanks,
-serge

.TH NCFTOOL 1 "December 20, 2011"
.SH NAME
ncftool \- Network configuration tool
.SH SYNOPSIS
.B ncftool [options]
.SH DESCRIPTION
ncftool is a command line utility to configure networking.
.SH OPTIONS
.TP
.B list [\-\-macs] [\-\-all] [\-\-inactive]
List the currently configured toplevel network interfaces

.br
.BR [\-\-macs]
show MAC addresses
.br
.BR [\-\-all]
show all (up &amp;amp; down) interfaces
.br
.BR [\-\-inactive]
show only inactive (down) interfaces
.TP
.B dumpxml [\-\-mac] [\-\-live] &amp;lt;name&amp;gt;
Dump the XML description of an interface

.br
.BR [\-\-mac]
interpret the name as MAC address
.br
.BR [\-\-life]
include information about the live interface
.br
.BR &amp;lt;name&amp;gt;
the name of the interface
.TP
.B define &amp;lt;xmlfile&amp;gt;
Define - define an interface from an XML file

.br
.BR &amp;lt;xmlfile&amp;gt;
file containing the XML description of the interface
.TP
.B undefine &amp;lt;iface&amp;gt;
Remove the configuration of an interface

.br
&lt;/pre&gt;</description>
    <dc:creator>Serge Hallyn</dc:creator>
    <dc:date>2011-12-20T16:44:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/652">
    <title>copyrights</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/652</link>
    <description>&lt;pre&gt;Hi,

I'm trying to finish the debian/ubuntu netcf package, and trying to make
sure I get copyrights right.  The debian/copyright file I have so far is
below.  There are a lot of xml files under tests/ and data/ (i.e.
./tests/suse/schema/vlan.xml) which have no attribution.  Are they all
the same license and copyright as the main project, or were some taken
from other projects?

thanks,
-serge

====================== debian/copyright ==========================

Format: http://dep.debian.net/deps/dep5
Upstream-Name: netcf
Source: http://git.fedorahosted.org/git/?p=netcf.git

Files: tests/cutest.*
Copyright: 2003 Asim Jalis
License:
 .
 This software is provided 'as-is', without any express or implied
 warranty. In no event will the authors be held liable for any damages
 arising from the use of this software.
 .
 Permission is granted to anyone to use this software for any purpose,
 including commercial applications, and to alter it and redistribute it
 freely, subject to the following restrictions:
 .
 1. The&lt;/pre&gt;</description>
    <dc:creator>Serge E. Hallyn</dc:creator>
    <dc:date>2011-11-17T18:08:47</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/651">
    <title>Fix to allow definitions with multiple ipv4 addresses for arp monitoring</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/651</link>
    <description>&lt;pre&gt;Hi!

It's me again and I have a new patch. I don't know if I went about this the correct way but it solved a problem we had.

We wanted to define multiple targets for arp monitoring. Having multiple targets actually works except it is disallowed by the parser so I created a new definition called ipv4-multi-addr to solve it.

This might not be the correct solution so please advice me on how to further improve this in order to better suit the netcf code base.

Thanks!

// Jens

Patch:

--- interface.rng       2010-06-17 15:40:45.000000000 +0200
+++ interface.rng.new   2011-10-31 14:56:36.000000000 +0100
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -202,7 +202,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
           &amp;lt;/element&amp;gt;
           &amp;lt;element name="arpmon"&amp;gt;
             &amp;lt;attribute name="interval"&amp;gt;&amp;lt;ref name="uint"/&amp;gt;&amp;lt;/attribute&amp;gt;
-            &amp;lt;attribute name="target"&amp;gt;&amp;lt;ref name="ipv4-addr"/&amp;gt;&amp;lt;/attribute&amp;gt;
+            &amp;lt;attribute name="target"&amp;gt;&amp;lt;ref name="ipv4-multi-addr"/&amp;gt;&amp;lt;/attribute&amp;gt;
             &amp;lt;optional&amp;gt;
               &amp;lt;attribute name="validate"&amp;gt;
                 &amp;lt;choice&amp;gt;
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -446,6 +446,12 &amp;lt; at &amp;gt;&lt;/pre&gt;</description>
    <dc:creator>Jens Nyberg I</dc:creator>
    <dc:date>2011-10-31T14:08:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/650">
    <title>Fixed a bug in netcf when netmask is bigger than 24</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/650</link>
    <description>&lt;pre&gt;Hi,

I noticed a bug in netcf when setting a netmask larger than /24.

This patch consist of:

* Removed a -1 in the inet_ntop call which is the actual bug that made the string incorrect.
* Changed the way you calculate the netmask ip in a more intuitive way - feel free to ignore it if you want.

--- xslt_ext.c  2011-10-26 17:42:54.000000000 +0200
+++ xslt_ext.c.new      2011-10-26 17:39:16.000000000 +0200
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -71,10 +71,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
     struct in_addr netmask;
     xmlChar netmask_str[16];

-    netmask.s_addr = htonl(~((1 &amp;lt;&amp;lt; (32 - prefix)) - 1));
+    netmask.s_addr = htonl(~(0xffffffff &amp;gt;&amp;gt; prefix));

     if (! inet_ntop(AF_INET, &amp;amp;netmask,
-                    (char *) netmask_str, sizeof(netmask_str) - 1)) {
+                    (char *) netmask_str, sizeof(netmask_str))) {
         xsltTransformError(xsltXPathGetTransformContext(ctxt), NULL, NULL,
                     "ipcalc:netmask: internal error: inet_ntop failed");
         goto error;


_______________________________________________
netcf-devel mailing l&lt;/pre&gt;</description>
    <dc:creator>Jens Nyberg I</dc:creator>
    <dc:date>2011-10-31T11:23:43</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/645">
    <title>debian version</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/645</link>
    <description>&lt;pre&gt;Hi,

for the last two days I've been trying to get the debian version of ncftool
(I think not much changes since I put it up at
http://people.canonical.com/~serge/netcf - I should put up a source tree, I
know) to actually write out a new /etc/network/interfaces files when doing
ncftool define br.xml.  It claims success, but /etc/network/interfaces never
gets written, even though aug_save() gets called.

I've instrumented augeas's aug_set() and tree_store_value() to verify that
the following are being set:

aug_set: setting /files/etc/network/interfaces/auto[3]/1 to br0
aug_set: setting /files/etc/network/interfaces/iface[3] to br0
aug_set: setting /files/etc/network/interfaces/iface[3]/family to inet
aug_set: setting /files/etc/network/interfaces/iface[3]/method to dhcp
aug_set: setting /files/etc/network/interfaces/iface[3]/mtu to 1500
aug_set: setting /files/etc/network/interfaces/iface[3]/bridge_ports to eth0
aug_set: setting /files/etc/network/interfaces/iface[3]/bridge_stp to off
aug_set: setting /files&lt;/pre&gt;</description>
    <dc:creator>Serge E. Hallyn</dc:creator>
    <dc:date>2011-10-27T22:58:59</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/644">
    <title>Not possible to define a netmask higher than 24through virsh</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/644</link>
    <description>&lt;pre&gt;virsh fails to create an interface that has a netmask higher than 24 bits

--
_______________________________________________
netcf-devel mailing list
netcf-devel-TuqUDEhatI7GMZAyRF5v151Ccm5ICvs9&amp;lt; at &amp;gt;public.gmane.org
https://fedorahosted.org/mailman/listinfo/netcf-devel
&lt;/pre&gt;</description>
    <dc:creator>ehiwere.matthew-EkmVulN54Sk&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2011-10-21T12:08:41</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/638">
    <title>[PATCH] Fix build errors when using-Werror=unused-but-set-variable</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/638</link>
    <description>&lt;pre&gt;From: Laine Stump &amp;lt;laine-/P6jbUKV17TZ+VzJOa5vwg&amp;lt; at &amp;gt;public.gmane.org&amp;gt;

The following errors appeared when I began building on Fedora 16. In
all cases, the variables really are never used, so they've been
removed.

drv_redhat.c: In function 'find_ifcfg_path_by_device':
drv_redhat.c:169:20: error: variable 'aug' set but not used
                            [-Werror=unused-but-set-variable]
drv_redhat.c: In function 'list_interfaces':
drv_redhat.c:315:20: error: variable 'aug' set but not used
                            [-Werror=unused-but-set-variable]
drv_redhat.c: In function 'drv_lookup_by_name':
drv_redhat.c:465:20: error: variable 'aug' set but not used
                            [-Werror=unused-but-set-variable]
drv_redhat.c: In function 'aug_put_xml':
drv_redhat.c:555:13: error: variable 'toplevel' set but not used
                            [-Werror=unused-but-set-variable]
drv_redhat.c: In function 'drv_lookup_by_mac_string':
drv_redhat.c:942:20: error: variable 'aug' set but not used
                 &lt;/pre&gt;</description>
    <dc:creator>Laine Stump</dc:creator>
    <dc:date>2011-10-12T04:20:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/636">
    <title>[PATCH] ncftool: avoid memory leak</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/636</link>
    <description>&lt;pre&gt;From: Alex Jia &amp;lt;ajia-H+wXaHxf7aLQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;

* src/ncftool.c: Calling allocation function 'ncf_lookup_by_name' to allocate
  memory to 'nif', however, it hasn't been released before return.

Signed-off-by: Alex Jia &amp;lt;ajia-H+wXaHxf7aLQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 src/ncftool.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/ncftool.c b/src/ncftool.c
index c9e26a2..90c6cbf 100644
--- a/src/ncftool.c
+++ b/src/ncftool.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -390,8 +390,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static int cmd_undefine(const struct command *cmd) {
         return CMD_RES_ERR;
 
     r = ncf_if_undefine(nif);
-    if (r &amp;lt; 0)
+    if (r &amp;lt; 0) {
+        ncf_if_free(nif);
         return CMD_RES_ERR;
+    }
 
     printf("%s undefined\n", name);
     ncf_if_free(nif);
&lt;/pre&gt;</description>
    <dc:creator>ajia-H+wXaHxf7aLQT0dZR+AlfA&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2011-09-27T06:25:06</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/619">
    <title>[PATCH] Fix missing vlan/bond/ethernet info indumpxml --live</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/619</link>
    <description>&lt;pre&gt;This patch addresses:

  https://bugzilla.redhat.com/show_bug.cgi?id=736920
  https://bugzilla.redhat.com/show_bug.cgi?id=739505

Commit 38f44cf (pushed between 0.1.8 and 0.1.9) put a check for an
invalid ifindex into the functions that add type-specific status data
to the xml document (e.g. the mac address of an ethernet, or tag of a
vlan). This check was inadvertently done incorrectly ("ifindex !=
RTNL_LINK_NOT_FOUND" rather than "ifindex == RTNL_LINK_NOT_FOUND").
This patch corrects that error.

Because these functions are a part of the code to gather info from the
kernel via libnl (netlink) calls, there is unfortunately no simple way
to incorporate a build-time test to prevent similar regressions in the
future; we will instead have to rely on separate testing.
---
 src/dutil_linux.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/dutil_linux.c b/src/dutil_linux.c
index 75492ba..730be45 100644
--- a/src/dutil_linux.c
+++ b/src/dutil_linux.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -909,7 +909,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static void&lt;/pre&gt;</description>
    <dc:creator>Laine Stump</dc:creator>
    <dc:date>2011-09-22T11:34:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/607">
    <title>[PATCH 0/11] Support for Debian/Suse/Windows distros</title>
    <link>http://comments.gmane.org/gmane.comp.sysutils.netcf.devel/607</link>
    <description>&lt;pre&gt;This is an update to

 https://fedorahosted.org/pipermail/netcf-devel/2011-September/000601.html

As before it includes the Debian driver which is fully functional.

In v2 though, it also includes

 - The Suse driver taken from OpenSuse netcf RPMs. This is only
   partially complete and apparently only works for plain ethernet
   devices, not bridging/bonding
 - The Windows driver developed by Adam Stokes. This is only
   partially complete, only able to list devices and bring them
   up / down. No XML query/define support at all.
 - Update to the bootstrap scripts
 - An automated build script

IMHO, we should include the Suse/Windows drivers as they are,
even though they're incomplete, since this might motivate
someone into fixing them up further
&lt;/pre&gt;</description>
    <dc:creator>Daniel P. Berrange</dc:creator>
    <dc:date>2011-09-21T16:50:12</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.sysutils.netcf.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.sysutils.netcf.devel</link>
  </textinput>
</rdf:RDF>

