On Tue, May 28, 2013 at 03:30:49PM +0800, Fam Zheng wrote:
> > 
> > Sure, I'm using the attached test script.
> 
> I used your script to test, but I don't see errors as you posted,
> attached the output. The only difference is that I put libguestfs in
> different directory with you and I'm using a linux guest image instead
> of windows xp. Do I need to get a windows image to reproduce?

There's actually an error in the output of libguestfs.  As a result
the test didn't fully run.  The error is hidden in all the extra
debugging information we're printing, but here it is:

> guestfsd: error: feature 'augeas' is not available in this
> build of libguestfs.  Read 'AVAILABILITY' in the guestfs(3) man page for
> how to check for the availability of features.
> libguestfs: trace: aug_init = -1 (error)
> libguestfs: error: aug_init: feature 'augeas' is not available in this
> build of libguestfs.  Read 'AVAILABILITY' in the guestfs(3) man page for
> how to check for the availability of features.
> libguestfs: trace: umount_all

You need to install the Augeas development package (augeas-devel on
Fedora, libaugeas-dev on Debian) and recompile libguestfs.  It's a
good idea to make sure you have every dependency installed by doing:

  yum-builddep libguestfs

or

  apt-get build-dep libguestfs

(this is covered in the libguestfs README).

- - -

I'm not sure if a Windows guest is somehow necessary to show the
errors.  I'll retest with a Linux guest and get back to you about
that.

Also I'm testing against a remote Apache2 server over a very slow Wifi
connection.  Whereas your test was against localhost.  Again, I will
test this scenario to see if that makes a difference and get back to
you.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)

Reply via email to