On 19.03.2012 20:13, Serge E. Hallyn wrote:
Quoting Laine Stump (laine(a)laine.org):
> On 10/28/2011 09:53 AM, Serge E. Hallyn wrote:
>> Quoting Daniel P. Berrange (berrange(a)redhat.com):
>>> On Thu, Oct 27, 2011 at 11:04:52PM -0500, Serge E. Hallyn wrote:
>>>> Quoting Serge E. Hallyn (serge.hallyn(a)canonical.com):
>>>>> Ah, an email from the good folks over at libguestfs suggested always
doing
>>>>> an aug_save() after any aug_set(). Doing that fixed it for me. It
seems
>>>>> more problematic since aborting partway through will result in a bad
>>>>> interfaces file, so I may have to add rollback after all, but right
now I'm
>>>>> just glad it's working :)
>>>> And now I've figured out the root of the problem - me. I was
forcing
>>>> get_augeas to rerun aug_load() every time.
>>> Cool, glad it know it now does in fact work for someone other than
>>> myself :-)
>>>
>>>> A tree which works for me on debian and ubuntu is at:
>>>>
>>>>
http://bazaar.launchpad.net/~serge-hallyn/+junk/netcf/files
>>> Are you planning on submitting those patches to this list ? The libnl ones
>>> will probably need to have some kind of conditional compilation, so we can
>>> support both versions of libnl.
>> Yes, absolutely. I was thinking about trying to clean them up first,
>> but that probably means I'll never get to them so maybe I'll send them
>> today.
> 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 :-)
Yikes, sorry, I thought I had, but I don't see it in the netcf m-l
archive. I'll post the patches to the mailing list tomorrow.
netcf is actually not yet enabled in libvirt itself, because we
haven't gotten it into main. It's enabled in debian though. The
reason netcf hasn't made it into main is that I couldn't get the
testsuite to succeed in our build farm. I could never reproduce the
failure on my own systems, but it always failed in the farm... I
still have no idea what's going on there...
> Thanks!
>
> Laine
> _______________________________________________
> netcf-devel mailing list
> netcf-devel(a)lists.fedorahosted.org
>
https://fedorahosted.org/mailman/listinfo/netcf-devel
_______________________________________________
netcf-devel mailing list
netcf-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/netcf-devel Hi,
i tried to compile netcf on ubuntu precise, but got a problem with a
missing macro (
).
Could that be your problem.
The second bug I know which prevent netcf from working on ubuntu systems
is
.
There are some other bugs in the current netcf package in precise which
are very harmful (segfaults for example) and which are fixed upstream.
So I think it is very reasonable to update the ubuntu package.
Hendrik Schwartke