[netcf-devel] debian version

Serge E. Hallyn serge.hallyn at canonical.com
Fri Oct 28 13:53:27 UTC 2011


Quoting Daniel P. Berrange (berrange at redhat.com):
> On Thu, Oct 27, 2011 at 11:04:52PM -0500, Serge E. Hallyn wrote:
> > Quoting Serge E. Hallyn (serge.hallyn at 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.

thanks,
-serge


More information about the netcf-devel mailing list