[Libguestfs] Issue with virt-builder on Ubuntu 14.04

Richard W.M. Jones rjones at redhat.com
Tue Jun 30 15:53:38 UTC 2015


On Tue, Jun 30, 2015 at 09:41:45AM -0600, Shawn Greig wrote:
> Rich you're right, I forgot to run make. I added 'set -x' and reran make
> and then ran 'virt-builder -v -x' and it seems to hang at dhclient (see
> attached log).

> + dhclient --version
> + dhclient
> /sbin/dhclient-script: line 31: /etc/fstab: No such file or directory

Yup, dhclient has been an ongoing problem.  Most recently:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775514
  https://bugzilla.redhat.com/show_bug.cgi?id=1224795

It may help to run dhclient in the appliance under strace to see where
exactly it has stopped.  The appliance should contain strace (check
for it in appliance/packagelist.in and appliance/supermin.d/packages),
and if it does you can just edit the appliance/init script like this:

-     dhclient
+     strace dhclient

The other option is to use dhcpcd, but that also requires patching the
init script.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list